← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #269185]: OnAppear and OnVanish on the same region

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Generally: you should not use popup in a handler (disturbs what is going on on the screen and steels focus)
use print instead

sorry for misleading: it must be 
event.getRegion().<whatever>

BTW: the docs are up to date
http://sikulix-2014.readthedocs.org/en/latest/region.html#observing-visual-events-in-a-region

your solution should work so.

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