sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26208
[Question #249600]: get the center of the image and change coordinates
New question #249600 on Sikuli:
https://answers.launchpad.net/sikuli/+question/249600
Hello
I'm trying to do something with Sikuli but i don't succeed :/
I want to get the coordinates (x and y) of the center of one pattern, and click on: click(Location(x+10,y-10))
But i don't know how use theses functions:
GetCenter
GetX
GetY
I tried:
ClickLocation(GetX(GetCenter(pattern)) + 10, GetY(GetCenter(pattern)) - 10 ) but it doesn't work...
Any idea or suggestion?
thank you ! :)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.