← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #234078]: Sikuli Script working fine on machine its created , but not identifying images on another environment.

 

Question #234078 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234078

    Status: Open => Answered

RaiMan proposed the following answer:
find always has this problem - using regions is only a matter of
reliability and speed - since it always uses imgage match (comparison)
on the pixel level.

--- what I meant with relative positions is ...
(assuming you have a rather fixed GUI in that the elements positions are rather fixed in relation to some key points in the GUI's visible area)
Then you could find a few key visuals and all the other needed points are calculated and defined via offsets to this reference points.
The new version 1.0.1 has lot of helpful functions (sorry, but they are not yet in the docs, you have to dig through the actual information that comes with the release), to easily achieve this.

... but I admit: it is a bit more effort in the forefront ;-)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.