Question #267500 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267500
Description changed to: Hi, Currently Im using... reg.click(Image) (if image doesn't appear within default wait time stop script) and reg.wait(Image, 9) (if image doesn't appear within 9 seconds stop script) I remember the default wait was about 3 seconds How can I tell sikuli that if image doesn't appear set clipboard as "image not found" and only then stop script I have used... try: reg.click(Image) except App.setClipboard("image not found") which is the best way to achieve this? thanks advanced. -- 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