← Back to team overview

sikuli-driver team mailing list archive

[Question #167391]: How to save the location of the result of click

 

New question #167391 on Sikuli:
https://answers.launchpad.net/sikuli/+question/167391

Hello,
I want to save the x and y location of click's result as variable for further computing.
What function should I do?
I try to use 
result=find(ps)
x1=result.getX()
y1=result.getY()
But it returns the upper left point. I want the center point.
please help me! 
Thanks


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