sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #56318
Re: [Question #694681]: Clicking after Region.findAny?
Question #694681 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/694681
Status: Open => Answered
masuo proposed the following answer:
You can understand your issue when you confirm return value of
getLastMatch.
[example1:]
r = Region(0,0,400,400)
r.find("1609040733533.png")
print r.getLastMatch()
r.click()
[example2:]
r = Region(0,0,400,400)
mlist = r.findAny("1609040733533.png","1609040739663.png","1609040747454.png")
print mlist
print r.getLastMatch()
for m in mlist:
m.click()
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.