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

    Status: Open => Answered

RaiMan proposed the following answer:
you have to build your own drag-drop using the basic mouse ops:

def swipe(start, end):
    delay = Settings.MoveMouseDelay
    Settings.MoveMouseDelay = 0
    mouseMove(start)
    wait(0.1)
    mouseDown(...)
    wait(0.1)
    mouseMove(end)
    wait(0.1)
    mouseUp()
    Settings.MoveMouseDelay = delay

... and then experiment with the individual wait times.

... supposing that a dragDrop op signals a swipe in the emulator.

possible problem: a move delay of 0 might be to fast, but setting the
move delay to a value >0 (0.5 secs in the standard) might not work as
well, since the mouse move starts fast and slows down towards the target
location (simulating a natural manual mouse move), whereas a natural
swipe starts slow and gets faster towards the end.

good luck.

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to