sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #19716
Re: [Question #233860]: Region.find or Region.findAll problem
Question #233860 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/233860
RaiMan proposed the following answer:
I just realized, that you are talking about 1.0.1
This is even easier:
reg = Region(413,248,680,510)
while reg.exists("1376053585710.png"):
reg.click()
find("1376053640208.png")
click("1376053656049.png")
find("1376053684932.png")
click("1376053695853.png")
else:
print("no more found)
... since beginning with 1.0.0 reg.click() will click the last
successful match in reg, if one exists or the center otherwise.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.