← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #215944]: How I can do several low-level mouse action simultaneously

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
In no case, mouse actions are done "simultaneously". Every action is
done, one after the other.

mouseDown() holds the specified buttons down until a mouseUp() is
encountered later in the script.

so the correct usage is:

mouseDown(Button.RIGHT)
wait(0.3) # optional
mouseMove("i.png")
wait(0.3) # optional
mouseUp()

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