← Back to team overview

sikuli-driver team mailing list archive

[Question #255049]: Simple mouse movement

 

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

I have been trying to simulate simple mose movement actions, using something I found on here that uses get mouse location:

mLoc=Env.getMouseLocation().offset(300,300)
mouseMove(mLoc)
mouseMove(mLoc.offset(200,0))

but for some reason it doesn't always work, or sometimes will work once but then not repeat in the loop I have it in. Is there a simpler way to just move the mouse, say, on the y axis by 200 units? If I can figure that out my goal is to import math to have more advanced movements like circles/triangles, etc.

The question/answer I got it from is here: https://answers.launchpad.net/sikuli/+question/184255


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