sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32360
Re: [Question #266820]: onVanish not working on specific region
Question #266820 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266820
Status: Answered => Solved
Jonathan confirmed that the question is solved:
Thanks for the time and effort you have put in for this.
Firstly I was not aware of the syntax "reg = Region(getLastMatch())"
this is much more elegant than how I was doing it.
However, it still did not solve the problem and then by studying your
code I saw my mistake. I had failed to put the observe on the region.
i.e.
reg.observe(FOREVER, True)
and not
observe(FOREVER, True)
Thanks again
Jonathan
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.