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

    Status: Open => Answered

RaiMan proposed the following answer:
for m in range(200):
    if exists("image-of-next-button.png", 20): 
        click(getLastMatch())
    else:
        click("image-of-skip-this-video-button")

If the next-button does not come up within 20 seconds, we try to click
the other button (which has to be visible in this case!)

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