Question #245246 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245246
Status: Open => Answered
Eugene S proposed the following answer:
Hi,
You can try something like that:
while True:
if exists("imageA.png"):
print "image A found. going to refresh"
click("refresh.png")
elif exists("imageB.png"):
print "image B found!"
click("imageC.png")
break
else:
pass
Cheers,
Eugene S
--
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