sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #26753
Re: [Question #250815]: [1.0.1] WebApp with Flash content: Drag and drop not working with java
Question #250815 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/250815
RaiMan proposed the following answer:
by saying
Settings.MoveMouseDelay = secs
you can specify, how long it takes to move the mouse to the new location (so called smooth move)
with a value of 0 it is just "jumping".
the standard value is 0.5
But this does not really matter in your case:
After press and hold button, the move has to be rather slow at the beginning, after that, speed does not matter any more.
this works:
m1 = starting location after click()
mouseMove(m1.offset(1,0) # just one pixel to the right very slow
mouseMove(m1.offset(300,0) # now the rest with full speed
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.