Question #225347 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/225347
Status: Open => Answered
RaiMan proposed the following answer:
region = Region(x, y, w, h) # (x,y) top left point
# you could use the SelectRegion button
images = ( "shot1.png",
"shot2.png",
.....
"shot22.png")
# first one wins
for image in images:
found = image
if region.exists(image, 0): break
found = None
if found:
print "found:", found
else:
print "None found"
Come back If you want to know, all images found.
--
You received this question notification because you are a member of
Sikuli Drivers, which 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