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

Player.pressMouseSeconds


Syntax

Player.pressMouseSeconds(location, seconds)

Player.pressMouseSeconds(location, seconds, holding: modifierKeys)


Parameters

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

seconds is a number.

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

Press and hold the mouse for the indicated duration.


Returns

True.


Examples

Player.pressMouseSeconds( {365, 215}, 5 )
Player.pressMouseSeconds( point.set(365, 215), 5 )
Player.pressMouseSeconds( Player.screenCoordinates( {365, 215} ) ) « press at an absolute screen position


Notes



See Also

Player.clickMouse
Player.dragMouse
   
Player.pressMouseAtSeconds


Keywords

mouse[7] location modifiers

| Top |


pressMouseAtSeconds| Prev | Home | Next |radioExists

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.