How to save the location of the result of click
Asked by
Alex
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
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.