← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #162896]: Is there a timeout for onAppear()-like methods?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
the onXXX() functions only register the event to be observed with the
respective region.

onXXX() for the whole screen
reg.onXXX() for region reg

the observation in the respective region is done by an observe() where
you can specify the max waiting time.

observe(timeout) looks for events specified for the whole screen
reg.observe(timeout) looks for events specified for region reg

more information: http://sikuli.org/docx/region.html#observing-visual-
events-in-a-region

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.