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

RaiMan posted a new comment:
currently only this:

someImage = "image.png"

screens = (Screen(i) for i in range(Screen.getNumberScreens())

start = time.time()
while time.time()-start < 20
    found = False
    for s in screens:
        if s.exists(someImage, 0):
            s.click()
            found = True
            break
    if found: break
    wait(1)

You might as well push numberScreens threads, that each wait and click
on one screen.

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