Question #688352 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688352
RaiMan proposed the following answer:
- how to use findAny()
... based on your first exists example.
matches = reg.findAny("pic1", "pic2", "pic3", ... more pictures)
if (len(matches) == 0):
print "none of them found"
# in a loop: use continue to repeat
found = matches[0].getIndex()
print "found: pic%d" % found +1
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp