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

    Status: Open => Answered

RaiMan proposed the following answer:
--- random:
see: https://docs.python.org/2/library/random.html

--- wait for image x OR y
while true:
    if exists(image1, 0):
        # do something
        break
    if exists(image2, 0):
        # do something
        break
    wait(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