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

Player.dragSequence


Syntax

Player.dragSequence(listOfLocations)

Player.dragSequence(listOfLocations, holding: modifierKeys)


Parameters

listOfLocations is a list of {x, y} lists or point datatypes.

holding: modifierKeys, an optional parameter, is one or more modifier keys (command, shift, option, control, caps lock) or their abbreviations (cmd, shft, opt, ctrl, caps), added together in any order.


Action

Drags the mouse thru a sequence of locations.


Returns

True.


Examples

Player.dragSequence( {{4, 27}, {4, 60}, {200, 60}, {200, 27}} )
Player.dragSequence( {point.set(4, 27), point.set(4, 60), point.set(200, 60), point.set(200, 27)} )
with Player « drag window to an absolute screen position
   dragSequence( {{40, -10}, screenCoordinates( {50, 50} )} )


Notes



See Also

Player.dragMouse
Player.clickSequence
Player.setCheckboxSequence
Player.setMouseDelay
Player.setTargetWindow
Player.screenCoordinates


Keywords

mouse[6] location modifiers sequence

| Top |


dragMouseFromTo| Prev | Home | Next |enableUserInput

Updated on 2/5/97 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.