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

    Status: Open => Answered

masuo proposed the following answer:
Did you measure turnaround time of each exists() function?
You should understand the phenomenon before thinking about countermeasures.

If you want to repeat the exact same search, use while or for statement.
r = Region(785,569,352,31)
while True:
    if r.exists("1516053159102.png",0):
        type(Key.SPACE,0)
    sleep(1)

And if you don't read basic behavior, this is helpful for your understanding.
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

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