sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #46711
Re: [Question #667420]: Linux Drag and Drop
Question #667420 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/667420
Status: Open => Answered
RaiMan proposed the following answer:
try this:
dropregion = Location(817, 688)
dragregion = Location(817, 210)
click(dragregion)
wait(1)
mouseDown(Button.LEFT)
wait(0.5)
mouseMove(dropregion)
wait(0.5)
mouseUp()
and play with the wait times in wait(0.5)
If you get it working: the reason behind: especially for drag-drop-ops
the GUI might need some time to "know" that it is a drag-start.
if not: ????? ;-)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.