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

Player.clickMouse


Syntax

Player.clickMouse(location)

Player.clickMouse(location, holding: modifierKeys)


Parameters

location 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

Clicks the mouse at the specified location.


Returns

True.


Examples

Player.clickMouse( {4, 27} )
Player.clickMouse( point.set(4, 27) )
Player.clickMouse( Player.screenCoordinates( {4, 27} ) )
Player.clickMouse( {13, -10} ) « click the close box
Player.clickMouse( {1, 1}, holding: shift ) « select to the upper left


Notes



See Also

Player.doubleClickMouse
Player.nClickMouse
Player.clickSequence
Player.pressMouseSeconds
Player.dragMouse
Player.moveMouse
Player.setMouseDelay
Player.setTargetWindow
Player.screenCoordinates
Player.clickMouseAt


Keywords

mouse[1] location modifiers

| Top |


clickItem| Prev | Home | Next |clickMouseAt

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.