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

Player.dragMouse


Syntax

Player.dragMouse(fromLocation, toLocation)

Player.dragMouse(fromLocation, toLocation, holding: modifierKeys)


Parameters

fromLocation is an {x, y} list or a point datatype.

toLocation is an {x, y} list or a point datatype.

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 from one location to another.


Returns

True.


Examples

Player.dragMouse( {4, 27}, {4, 60} )
Player.dragMouse( point.set(4, 27), point.set(4, 60) )
Player.dragMouse( {30, -10}, Player.screenCoordinates( {31, 28} ) ) « drag window to the upper left corner of the screen


Notes



See Also

Player.dragSequence
Player.clickMouse
Player.moveMouse
Player.setMouseDelay
Player.setTargetWindow
Player.screenCoordinates
   
Player.dragMouseFromTo


Keywords

mouse[5] location modifiers

| Top |


doubleClickMouseAt| Prev | Home | Next |dragMouseFromTo

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.