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

    Status: Open => Answered

RaiMan proposed the following answer:
This might be a problem with the text finding feature together with the
internal "waiting loop".

But it does not make any sense, to complain about that, since they will
revise the text/OCR feature anyway.

You can do 2 things:
--- restrict the search even more inside the app window
w = myApp.window(0)
r = w. ... # a new smaller region
# that is expected to contain the searched text

--- make your own waiting loop
while True:
    if r.exists("other", 0): break
    wait(1)

this would look one time every second.

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