← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #291334]: Finding coordinates

 

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

RaiMan proposed the following answer:
m = find("someImage.png")

if the image is found, then m is the Match, that has the coordinates (x, y) of the image on the screen:
m.x # distance from left edge
m.y # distance from top edge

top left corner of screen is (0, 0)

now you might use the Match m as a region, to do with it what is
possible.

Reading through the docs might help, to understand more about the
features of SikuliX

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.