[Sikuli-driver] [Question #252905]: i want sikuli to select options closest to the mouse pointer location when there are more then one matches present

2014-08-10 Thread geo
New question #252905 on Sikuli: https://answers.launchpad.net/sikuli/+question/252905 I ran into a major problem while making a script , i wanted sikuli to select the recognized picture closest to the mouse since there are more than 5 matches , at least on the screen.but since i am new to this i

Re: [Sikuli-driver] [Question #252905]: i want sikuli to select options closest to the mouse pointer location when there are more then one matches present

2014-08-10 Thread geo
Question #252905 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252905 Description changed to: I ran into a major problem while making a script. At present sikuli randomly selects the pictures , i wanted sikuli to select the recognized picture closest to the mouse since there ar

Re: [Sikuli-driver] [Question #252905]: i want sikuli to select options closest to the mouse pointer location when there are more then one matches present

2014-08-10 Thread geo
Question #252905 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252905 geo gave more information on the question: my problem is quite similar to this post "https://answers.launchpad.net/sikuli/+question/225412";, i am already using hover()..but i have no idea how to set the prog

Re: [Sikuli-driver] [Question #252905]: i want sikuli to select options closest to the mouse pointer location when there are more then one matches present

2014-08-10 Thread geo
Question #252905 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252905 Description changed to: I ran into a major problem while making a script. At present sikuli randomly selects the pictures , i wanted sikuli to select the recognized picture closest to the mouse since there

Re: [Sikuli-driver] [Question #252905]: i want sikuli to select options closest to the mouse pointer location when there are more then one matches present

2014-08-10 Thread Eugene S
Question #252905 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252905 Status: Open => Answered Eugene S proposed the following answer: Hi, There are a couple of options I can think about in regards to how to find specific object from multiple similar matches however it de

Re: [Sikuli-driver] [Question #252905]: i want sikuli to select options closest to the mouse pointer location when there are more then one matches present

2014-08-10 Thread RaiMan
Question #252905 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252905 RaiMan proposed the following answer: @Eugene this might be an heuristic approach, to be able to find a region, that contains the nearest element. This is a more general solution: import math # used by so

Re: [Sikuli-driver] [Question #252905]: i want sikuli to select options closest to the mouse pointer location when there are more then one matches present

2014-08-10 Thread RaiMan
Question #252905 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252905 Linked to bug: #1355017 https://bugs.launchpad.net/bugs/1355017 "[request] want as feature: get the nearest point/region/image to a given point/region/image" -- You received this question notif

Re: [Sikuli-driver] [Question #252905]: i want sikuli to select options closest to the mouse pointer location when there are more then one matches present

2014-08-11 Thread geo
Question #252905 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/252905 Status: Answered => Solved geo confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, whic