← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #173203]: image found, but region location wrong

 

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

Beth Griffin gave more information on the question:
So it looks like in the event handler, the event.region location is
correct, but any time I "find" the image outside the event handler, the
location is wrong.

So I am working around this (since everyone is a class member) by
setting self.myRegion = event.region in the handler, and using that
after the observe.

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