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

    Status: Open => Answered

masuo proposed the following answer:
How about the following codes?

# wait for only image1 
while True:
    if exists("image1.png", 0):
        break
    sleep(1)

# wait for one of the five images
while True:
    if exists("image1.png", 0):
        break
    if exists("image2.png", 0):
        break
    if exists("image3.png", 0):
        break
    if exists("image4.png", 0):
        break
    if exists("image5.png", 0):
        break
    sleep(1)

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