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

    Status: Open => Answered

RaiMan proposed the following answer:
First you have to try, wether it is possible at all, to "read" the
numbers from the count area:

r = selectRegion("select the count area as small as possible")
print r.text()

if you get sufficient results, the principal workflow is something like
that:

countArea = .... # somehow make it the region containing the counter
maxCount = ... # the limit
count = 0
while count <= maxCount:
    count = int(countArea.text())
    wait(1) # pause a adaquate number of seconds
# now count is >maxCount
.... # your actions

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