Question #204805 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/204805
RaiMan proposed the following answer:
You either rap the whole stuff into another loop
while True: #endless
hanf = exists(...)
while hanf:
or you redesign your existing loop:
hanf = exists(...)
while hanf:
click(...)
hanf = exists(...)
# many other statements
hanf = exists(...) # as last statement in the loop
More ideas on looping: faq 1437
--
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