Question #177265 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/177265

    Status: Open => Answered

RaiMan proposed the following answer:
have a look at exists()

e.g.

if not exists(image): print "Error"; exit(1)
click(getLastMatch)

or use the interactive options with FindFailed situations (see docs)

-- 
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

Reply via email to