← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #696004]: OCR to wait for Text to appear for some seconds simiar to find("image", 20)

 

Question #696004 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696004

    Status: Open => Answered

RaiMan proposed the following answer:
Sorry, not available.

Make yourself a def:

def waitText(text, time):
    while time > 0:
        match = findText(text)
        if match: return match
        time -= 1
    return null

something like that - not tested

anyways: I put it on the list for 2.0.6

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.