sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #40712
Re: [Question #403961]: ''Extract''Coordinate of Image
Question #403961 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/403961
Status: Open => Answered
masuo proposed the following answer:
You can use getX() and getTarget() together.
p = Pattern(Image).targetOffset(x,y)
m = find(p)
print m.getTarget()
mx = m.getTarget().getX()
my = m.getTarget().getY()
print mx,my
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.