Can doubleClick() be used by specifying x and y?

Asked by Sneha on 2020-02-06

doubleClick(someimage)
getmouseLoc = Env.getMouseLocation()
print(getmouseLoc) #(219,121)

The above works fine!!

doubleClick(219,121) is not clicking the image which is clicked earlier, although I gave the same x and y
Does doubleClick() works with only images?

Can someone please help me out?

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2020-02-06
Last query:
2020-02-06
Last reply:
2020-02-06
Best RaiMan (raimund-hocke) said : #1

Did you ever have a look into the docs about the features and their usage?

https://sikulix-2014.readthedocs.io/en/latest/region.html#acting-on-a-region

Sneha (sneha-ramar) said : #2

Thanks RaiMan, that solved my question.

Sneha (sneha-ramar) said : #3

As I'm very new to Sikulix, sorry for some basic questions RaiMan