sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24687
Re: [Question #245266]: [error] NameError (name 'onEvent' is not defined)
Question #245266 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/245266
Ray Bobak posted a new comment:
Could have sworn I replied to this yesterday, but is not in here.
Yes, I know I can actually carve up the screen or even define a region
that contains my target. What I wanted was the ability to get an
observer running that could run in the background and check for my
particular target, then call an event routine to process the event.
The onAppear() scans the entire screen, given the size of my real
estate, it would consume a lot of processor scanning the screen when I
already know where it will appear. The documentation talks about the
onEvent restricting to a regions rectangle which would be perfect if it
worked.
I suppose the alternative is to fire off threads to do the processing
then try to figure out how to shut everything down at once without
having to kill the IDE everytime.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.