sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33848
Re: [Question #269185]: OnAppear and OnVanish on the same region
Question #269185 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269185
Tetsuo gave more information on the question:
Well,
It seens, from the docs, i cant access region atribute and have to use
getRegion()
Its not working either:
if event.isAppear():
popup("APPEAR")
appear_region = event.getRegion()
appear_region.setInactive(appear_handler)
when using
myRegion.setInactive(appear_handler)
its seens to be working.
myRegion is a global variable that stores the region.
Thanks.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.