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

    Status: Open => Answered

RaiMan proposed the following answer:
while True:
    if exists("X.png", 10):
        click("X.png")
        break # the loop is terminated here
    else:
        click("Y.png")

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