Page 1 of 1

simple mouse drag and drop?

Posted: Tue Dec 04, 2012 10:10 am
by joiner
i wish to move/drag an image from coordinate fix A(522,122) to fix B(393,109).I try ds command,but failed. So,how to do it?

SIZE X=1145 Y=578
DS CMD=MOVETO X=522 Y=122 CONTENT=
DS CMD=LDOWN X=522 Y=122 CONTENT=
DS CMD=LUP X=393 Y=109 CONTENT=

Re: simple mouse drag and drop?

Posted: Fri Dec 07, 2012 12:21 pm
by Tom, Tech Support
Hi joiner,

You first need to do an LDOWN command, followed by one or more MOVETO commands, and then the final LUP to simulate drag-and-drop.

For an example, see the AJAX-Tree demo macro that installs with iMacros!