Click on screen using coordinates

Asked by Shivaram Panchagnula on 2017-03-19

I have the screen coordinates using the

wait(5)
loc = Env.getMouseLocation()
print loc

For example : my coordinates are L(928,482)

I now want to know if I can store these coordinates in a variable and then use click on that variable ?

If not possible, please suggest me a best method to click on a screen point whose coordinates are known.

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2017-03-20
Last query:
2017-03-20
Last reply:
2017-03-19
Best RaiMan (raimund-hocke) said : #2

click(loc)

Hi RaiMan,
Thank you..
Sorry, my bad for not looking into the documentation before posting the question.