sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29531
Re: [Question #258197]: [1.1.0] Using observe to continuously look for pattern and take actions
Question #258197 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258197
RaiMan proposed the following answer:
--- sikuli can't find repeat().
I do not understand what you mean.
from comment #1 and according to the docs about the handler:
def Disconnected(event):
#This function closes disconnect message using a click
event.region.click(button) # clicks the button in the observed region
event.repeat(someSeconds) # waits someSeconds until continuing to observe (someSeconds = 0: continue without waiting)
should work
about the API:
http://nightly.sikuli.de/docs/index.html
the above event parameter is of class ObserveEvent
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.