Re: [Sikuli-driver] [Question #261468]: Region with reference of two images

2015-02-03 Thread RaiMan
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Status: Open => Answered RaiMan proposed the following answer: if an image might be found more than once on the screen, you have either to restrict the search area or use findAll and afterwards decide wh

Re: [Sikuli-driver] [Question #261468]: Region with reference of two images

2015-02-03 Thread deva
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Status: Needs information => Open deva gave more information on the question: p1 =exists("img1.png") p2 =exists("img2.png") combined = p1.union(p2) I tried the above code to create region with referenc

Re: [Sikuli-driver] [Question #261468]: Region with reference of two images

2015-02-03 Thread RaiMan
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Status: Open => Needs information RaiMan requested more information: not clear what you have and want -- You received this question notification because you are a member of Sikuli Drivers, which is an

Re: [Sikuli-driver] [Question #261468]: Region with reference of two images

2015-02-01 Thread deva
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Status: Answered => Open deva is still having a problem: Thanks for your answer. i have to handle another case that 2nd image matches top and bottom. so i have to choose above only. please help on tha

Re: [Sikuli-driver] [Question #261468]: Region with reference of two images

2015-01-31 Thread RaiMan
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Status: Open => Answered RaiMan proposed the following answer: version 1.0.1+ p1 =exists("img1.png") p2 =exists("img2.png") combined = p1.union(p2) -- You received this question notification because y

[Sikuli-driver] [Question #261468]: Region with reference of two images

2015-01-31 Thread deva
New question #261468 on Sikuli: https://answers.launchpad.net/sikuli/+question/261468 I can create region with reference of one image Ex: p =s.exists("img1.png") pr = Region(p.x - 461, p.y - 1, p.w + 464, p.h + 454) But now i want to create region with reference of two image. i have one image

Re: [Sikuli-driver] [Question #261468]: Region with reference of two images

2015-01-31 Thread deva
Question #261468 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/261468 Description changed to: I can create region with reference of one image Ex: p =exists("img1.png") pr = Region(p.x - 461, p.y - 1, p.w + 464, p.h + 454) But now i want to create region with reference of two