← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #223258]: How get (x, y) cursor location of mouse click?

 

Question #223258 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/223258

RaiMan proposed the following answer:
# comment #2:
This is not what the user requested:

He wants to be notified in his script, when the user is clicking
somewhere on the screen.

With Sikuli, it is not possible to catch mouse clicks or keyboard
presses outside the GUI elements, that are owned by Sikuli (which
usually are none with Sikuli scripts). And such a feature cannot be
implemented in a system independent manner only with the means of Java.

BTW: your proposed solution uses Sikuli Java API, which is only feature compatible to some extent to SikuliX
The above solution would not work with SikuliX.

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