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

RaiMan proposed the following answer:
or if the image should be checked in every loop turn:

repeat=7
intermediate = 4
imageExists = False
for i in range(repeat): # 0 as start is default
    DoSomeStuff()
    if not imageExists: 
        imageExists = exists(IMAGE)
    if i == intermediate and not imageExists:
        break

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