← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251932]: How to stop my script when ever a target appears

 

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

    Status: Open => Answered

Eugene S proposed the following answer:
Hi,

Take a look at the Observe:
http://doc.sikuli.org/region.html#observingvisualeventsinaregion

As it appears in the documentation:
You can tell a region to observe that something appears or vanishes, or something changes in that region. It is possible to let the script wait for the completion of an observation or let it run in the background, while your script is continuing.

Looks like what you're looking for.

Eugene S

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