sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #50848
Re: [Question #678936]: mouseMove to an absolute position on screen
Question #678936 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678936
Mike posted a new comment:
Apologies Marc, I just tested that code again and it doesn't work on
Windows 10 now.
It's fine with a region but a location or an image give something like this:
[error] RobotDesktop: checkMousePosition: should be L[960,1059]@S(0) but after move is L[960,1060]@S(0) Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin.
[log] CLICK on L[960,540]@S(0) (686 msec)
The symptom is the cursor goes to the right spot but after hovering
returns to the middle of the screen, and it looks like it clicked there.
The documentation says " A someRegion.click() will either click the
center of the given Region or the lastMatch, if any is available ". I
can't obviously see why it sometimes thinks there is a lastMatch and
sometimes not so you'll need to experiment if you use this kind of
construct.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.