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

2011-10-13 Thread Beth Griffin
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 Status: Open = Solved Beth Griffin confirmed that the question is solved: I just tried with rc3 and other script modifications. I now set the onAppear to use an image containing the gDEBugger Explorer

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

2011-10-12 Thread Beth Griffin
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 Status: Needs information = Open Beth Griffin gave more information on the question: I just sent an e-mail with the requested images. -- You received this question notification because you are a

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

2011-10-11 Thread Beth Griffin
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 Status: Answered = Solved Beth Griffin confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli

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

2011-10-11 Thread Beth Griffin
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 Status: Solved = Open Beth Griffin is still having a problem: Ok, I spoke too soon. Sikuli says, yeah, found match, so I set self.BPRegion = event.match I then highlight the match, and it is nowhere

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

2011-10-11 Thread RaiMan
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 Status: Open = Needs information RaiMan requested more information: could you send me a screenshot with the wrong highlight and the narrowed region highlighted too. (mail at

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

2011-10-05 Thread RaiMan
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 Status: Open = Answered RaiMan proposed the following answer: This runs perfectly (on my Mac, adapt it to Windows and your situation): - have the Sikuli QA page open - start the script - open one of

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

2011-10-05 Thread Beth Griffin
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 Beth Griffin posted a new comment: What is the difference between event.region and event.match? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer

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

2011-10-05 Thread RaiMan
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 RaiMan proposed the following answer: --- event.region is the region you are observing observe() # observes Screen(0) reg.observe() # observes the region defined with reg --- event.match just from the docs:

[Sikuli-driver] [Question #173203]: image found, but region location wrong

2011-10-04 Thread Beth Griffin
New question #173203 on Sikuli: https://answers.launchpad.net/sikuli/+question/173203 I have been trying to clean up some image matching issues. I have a sikuli script that observes MS Visual Studio until a breakpoint is hit: if exists(BreakpointArrow.png, 300): m = getLastMatch()

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

2011-10-04 Thread Beth Griffin
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

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

2011-10-04 Thread RaiMan
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 Status: Open = Answered RaiMan proposed the following answer: --- exact() does not work correctly seems to be a bug. use .similar(0.99) instead --- match in different locations It seems, you are

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

2011-10-04 Thread Beth Griffin
Question #173203 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/173203 Status: Answered = Open Beth Griffin is still having a problem: 1. While the BP symbol is in a column, the column itself may be in a different location based on user/machine settings (like language).