Is there wayt to findAll from bmp file? or from image copied to clipboard?

Asked by eduardobedoya

Hi
Is there way to findAll (find 9 equal images) from bmp file (whithout open it)? or from image copied to clipboard?
if it is possible, how can I hover throught all 9 equal images, how sikuli manage the coordinates, relative to the file widht heigh? what is the syntax?
Is this what I should try?
http://sikulix-2014.readthedocs.org/en/latest/finder.html#Finder
Thanks Advanced

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

Finder only delivers the relative coordinates of some probes in this image relative to the Finder image's top left as matches.

This is a feature, that only runs in memory without any visual effects.

using hover() with the returned matches simply move the mouse to the point at the match's region centre.
And the match is seen as relative to the (0,0) of the screen containing this coordinate.

Always remember: SikuliX does not know anything about the MEaNING of the pixels you see on the screen or in an image.

So if you want to use hover, the image has to be visible on the screen and then you do not use Finder, but the normal Region methods.

Revision history for this message
eduardobedoya (gonnabdh) said :
#4

Thanks RaiMan, that solved my question.

Revision history for this message
eduardobedoya (gonnabdh) said :
#5

I would have to make some tests in order to get it, but Ive found a workaround, so I guess it will be latter. Thanks Rainman.