← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #261643]: dragDrop() speed

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
the easiest way is to split the drag-drop into the respective mouse actions and insert wait(0.x).
You can make a def() for that to reuse it.

hover(sowewhere)
wait(0.x)
mouseDown(Button.RIGHT)
wait(0.x)
mouseMove(someWhereElse)
wait(0.x)
mouseUp()

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