sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #22569
[Question #240256]: need help on region.text() based on the position click
New question #240256 on Sikuli:
https://answers.launchpad.net/sikuli/+question/240256
How can I add the x y coordinate based on where the button.png is located on the screen?
I have the following:
x = 100
y = 50
click("button.png")
r = Region(x,y,400,200)
test1 = r.text()
I saw in log, the click button is [500,300]. I would like to them to x and y so the new region would be
Region(600,350,400,200)
or please suggest me alternative method.
Thanks!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.