sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #46710
Re: [Question #667420]: Linux Drag and Drop
Question #667420 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/667420
Jeff_Vallis gave more information on the question:
So I messed up the code above trying to make it look pretty
if 1 == 1:
x1 = Location(817, 688)
x2 = Location(817, 210)
dropregion = x1
dragregion = x2
hover(dragregion) ; wait (2) ; hover(dropregion) ; wait(2)
click(dragregion) # get focus
if 1 == 0:
# Try Drag and Drop
#What I really wanted to do was this
print "DragDrop Down"
v_result = dragDrop(dragregion, dropregion)
keyUp()
print v_result
if 1 == 0:
print "Manual Drag Drop"
mouseDown(Button.LEFT)
v_result = mouseMove(dropregion)
mouseUp(Button.LEFT)
print v_result
wheel(Location(472, 269), WHEEL_DOWN, 25)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.