Public bug reported: I am trying to do a match on an image of my mouse pointer. However it is never found when using wait(). In the script I am creating the mouse changes from a normal pointer to a pointer with an hourglass. I have managed to capture this image by using SnagIt, and my script moves the mouse pointer ( using hover() ) to a point on the screen where the background matches the background of my captured mouse image. However when I run my script and the mouse pointer changes from a normal mouse pointer to a busy mouse pointer (with an hourglass) Sikuli it not able to find it. I expect the mouse to be a visible part of the screen when searching. If it isn't, I would expect to be able to enable this functionality. For some applications it is the only way to see that the application is busy and / or has finished an operation.
When I try to find the mouse pointer using a screen capture tool like SnagIt and then using the following code, I am able to find a match: f = Finder("mouse_pointer_zone.png") img = "busy_icon.png" f.find(img) while f.hasNext(): # loop as long there is a first and more matches print "found: ", f.next() # access the next match in the row print f.hasNext() # is False, because f is empty now f.destroy() # release the memory used by finder So it seems that the problem is localized to the Region.find() method. I'm using Sikuli 1.0.0 32-bit on Windows XP and Java 1.6. ** Affects: sikuli Importance: Undecided Status: New ** Tags: mouse pointer screen search -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1221627 Title: Unable to find mouse pointer when searching a region Status in Sikuli: New Bug description: I am trying to do a match on an image of my mouse pointer. However it is never found when using wait(). In the script I am creating the mouse changes from a normal pointer to a pointer with an hourglass. I have managed to capture this image by using SnagIt, and my script moves the mouse pointer ( using hover() ) to a point on the screen where the background matches the background of my captured mouse image. However when I run my script and the mouse pointer changes from a normal mouse pointer to a busy mouse pointer (with an hourglass) Sikuli it not able to find it. I expect the mouse to be a visible part of the screen when searching. If it isn't, I would expect to be able to enable this functionality. For some applications it is the only way to see that the application is busy and / or has finished an operation. When I try to find the mouse pointer using a screen capture tool like SnagIt and then using the following code, I am able to find a match: f = Finder("mouse_pointer_zone.png") img = "busy_icon.png" f.find(img) while f.hasNext(): # loop as long there is a first and more matches print "found: ", f.next() # access the next match in the row print f.hasNext() # is False, because f is empty now f.destroy() # release the memory used by finder So it seems that the problem is localized to the Region.find() method. I'm using Sikuli 1.0.0 32-bit on Windows XP and Java 1.6. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1221627/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp