← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #212945]: Get image target offset as x, y coordinates

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
mouseMove(Pattern(image).targetOffset(x,y))

would do that.

or
find(Pattern(image).targetOffset(x,y))
click(getLastMatch())

The offset can be evaluated and set in the IDE's Preview window (click
on thumbnail)

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