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

alex gave more information on the question:
Kind of got it working by putting these lines on top of the script:
def ffhandler(event):
    resetGUI()
FindFailed.setHandler(ffhandler)
use()
setFindFailedHandler(ffhandler)

However I was surprised to learn that apparently even constructs like these
while(not exists(Pattern("1527938243237-3.png").similar(0.95),1.0)):
        #do stuff
count as a FindFailed. At least they invoke the handler script which renders 
all of this pretty useless for what I had 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