New question #670456 on Sikuli:
https://answers.launchpad.net/sikuli/+question/670456

Let's assume I have a rather lengthy SikuliX script that can basically fail at 
any point - usually find failed.
Instead of modifying the whole script to catch every possible error, my idea 
was to use some kind of "supervisor" script instead.
The supervisor calls the script and if anything goes wrong there, the GUI in 
question is reset to its initial state by the supervisor which then calls the 
script again.
I got this idea working, but of course every time a find failed occurs in the 
called script everything comes to a stop.
What I would need is a way to simply exit a script (so the supervisor can take 
over) every time a find failed occurs. Is this possible?

"setFindFailedResponse()" doesn't seem to have the proper parameters for what I 
have in mind.

-- 
You received this question notification because your team Sikuli Drivers
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