← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #271722]: [1.1.0] How to control the inner timing of dragDrop()

 

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

    Status: Needs information => Answered

RaiMan proposed the following answer:
@Nikki
in comment #1 i said this:

I just revised the dragDrop() in version 1.1.0.
Beginning with tomorrow's build the following is available:
- the timing parameters beforeMouseDown, beforeDrag, beforeDrop in the standard are 0.3 seconds each
- using Settings.beforeMouseDown, Settings.beforeDrag, Settings.beforeDrop they can individually be set for the next following dradDrop() (after completion of the dragDrop they will be reset to the default value)

example:
Settings.beforeMouseDown = 0.4
Settings.beforeDrag = 0.5
Settings.beforeDrop = 0.1
dragDrop(from, to)

the values are used accordingly with drag() and dropAt() also.

The docs will be revised tomorrow also.

this was on 2015-09-24
so the mentioned "tomorrow" would be 2015-09-25

you are still running 2015-09-05.
So please upgrade to the latest nightly build and experiment with the revised dragDrop()

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