← Back to team overview

sikuli-driver team mailing list archive

[Question #662430]: moveMouse() in Game that captures the mouse

 

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

I'm trying to automate an Unreal based first person 3D game that captures the mouse. I can use moveMouse() just fine for a bit but eventually get errors like:

[error] RobotDesktop: checkMousePosition: should be L(937,1289)@S(0)[0,0 2560x1440] but after move is L(937,1239)@S(0)[0,0 2560x1440] 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.

and

[error] Location: outside any screen (937, 2160) - subsequent actions might not work as expected

Is there any way to tell SikuliX "just move the mouse to the right without any concern for positioning or screen size" to essentially make the character in the game spin in circles as if I was moving my mouse right for a while?


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