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

    Status: Open => Answered

RaiMan proposed the following answer:
the only reason I can see:

    while time.time() < (start + 3) and exists(a, 0):
        pass

    if exists(a, 0):
        doubleClick(b)
        return

# here we get only if img1 (a) does not exist
#... but maybe it takes longer than some 10 millisecs for img5 (ef) to get 
visible
#... so use some waittime > 0

    if exists(ef, 0):
        doubleClick(efg)

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