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

    Status: Open => Answered

RaiMan proposed the following answer:
find() cannot be used in this case, since it stops if the image is not
found() (see FAQ 1437)

while not exists(img1.png):
    sleep(1)
    click(img2.png)

click(img1.png)

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