← Back to team overview

sikuli-driver team mailing list archive

[Question #661149]: Sikuli mouse controls are blocked?

 

New question #661149 on Sikuli:
https://answers.launchpad.net/sikuli/+question/661149

I've been trying to run a Sikuli script which worked perfectly fine on another PC, but seems to have issues when running on my Microsoft Surface Pro 4. This is the log from the Command Prompt while the script runs. This is the part which seems relevant to Sikuli, I excluded the other parts which were only relevant to the script I was running.

[log] App.focus:  [3544:Chrome]
[error] RobotDesktop: checkMousePosition: should be L(485,184)@S(0)[0,0 2736x1824]
but after move is L(578,278)@S(0)[0,0 2736x1824]
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.
[error] RobotDesktop: checkMousePosition: should be L(589,392)@S(0)[0,0 2736x1824]
but after move is L(590,374)@S(0)[0,0 2736x1824]
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] App.focus:  [3544:Chrome]
[log]  TYPE "#ESC."

It seems to be suggesting that I run SikuliX as an administrator, but how do I go about running a jar as an administrator? Also, it worked fine on my other PC without any administrator permissions.

When I run the script, the mouse cursor does move on its own, however it's jittery and stops after a few seconds.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.