right-click and drag

is there a trick to being able to drag and drop with a right-click of the mouse instead of a left-click?


moveTo "someImage"
mouseButtonDown 3
moveTo "anotherImage"
mouseButtonUp 3

Since this is not a common action, there’s no built-in support for right-click drags. But you can specify any of up to 8 mouse buttons and control their state with the mouseButtonDown/Up commands.

Thanks Matt. Does th three after mouseButtonDown indicate the designator for right button?
1=left button
2=middle scroller button
3=right button?

I’m going to refer you to the documentation on [u]Mouse Commands and Functions[/u].