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

    Status: Open => Answered

RaiMan proposed the following answer:
You should use a construct using exists() instead of wait(), soyou have
more options:

while True: # means forever
    if (exists(button,0)):
        wait(0.5) # you decide how long
        if (exists(button, 0):
            break # button is stable
    wait(1) # and check again

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