PreFab...Player...Documentation...AppleScript...User's Guide...Chapter 5, Verbs...One Verb Per Page...

drag: between a pair of locations


Syntax

drag from location to location [holding modifierKeys]


Parameters

from location -- an {x, y} list, the horizontal and vertical number of pixels from the upper left corner of the frontmost window

to location -- an {x, y} list, the horizontal and vertical number of pixels from the upper left corner of the frontmost window

[holding modifierKeys] -- one or more modifier keys (command, shift, option, control, caps lock), concatenated with "&"


Result

true


Examples

drag from {4, 27} to {4, 60}
drag from {30, -10} to {31, 28, screen coordinates} } -- drag window to the upper left corner of the screen


Notes



See Also

drag through
click location
move
set mouse delay
set target window

| Top |


click sequence| Prev | Home | Next |drag through

Updated on 1/30/99 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.