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

    Status: Open => Answered

RaiMan proposed the following answer:
drag does not click, but only hovers and presses/holds left mouse
button.

You might try a step by step solution:

src = s.find("image-of-source.png")
tgt = s.find("image-of-target.png")
s.hover(src)
wait(0.2)
mouseDown(Button.LEFT)
wait(0.2)
hover(tgt)
wait(0.2)
mouseUp()

You might vary the waits and put into a def if it works.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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