sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #31931
Re: [Question #265685]: Is there wayt to findAll from bmp file? or from image copied to clipboard?
Question #265685 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265685
Status: Open => Answered
RaiMan proposed the following answer:
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.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.