← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255662]: Stopping an observer outside of the handler

 

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

Summary changed to:
Stopping an observer outside of the handler

Description changed to:
I'm looking to stop an observer if the event hasn't occurred by the end
of the script. Depending on which project we are automation I'm looking
to create several different observers to monitor the execution for
certain pop-up conditions (such as the word ERROR in a status bar) that
may or may not need to halt execution, and save a screen shot.

In reading the docs and questions posted here it looks like the event
returned from an onAppear() observer is used to stop the observer,
however there is a chance the event will not occur before the script
completes. Currently the observers are staying open beyond execution
time. I can include a stripped-down code snippet if necessary.

The question was replaced with spam so I am fixing it.

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