Question #246184 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/246184
Status: Open => Answered Eugene S proposed the following answer: Hi, You can try something like that: while True: wait(1) # Give some time for each button to appear if exists("button.png"): click("button.png") elif exists("OKButton.png"): click("OKButton.png") else: break -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp