New question #202942 on Sikuli:
https://answers.launchpad.net/sikuli/+question/202942
Hi folks,
im having a insue with exit() inside of try/except...
when the "try" found some image, then a popup appear and when user click "Ok",
sikuli should exit...but it dont, sikuli keep runing..
any one know what im doing wrong?
thanks
here is my code:
try:
regVig.find(Pattern("Ocarreramexc.png").similar(0.50).targetOffset(-2,43))
pressKEY(1,Key.ENTER)
popup("Ocorreram exceções neste cálculo!".decode('utf-8'))
exit()
except:
wait(8)
calcular()
--
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