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

Player.clickMouseAt


Syntax

Player.clickMouseAt(x, y)

Player.clickMouseAt(x, y, holding: modifierKeys)


Parameters

x is the number of pixels from the left side of the frontmost dialog or window.

y is the number of pixels from the top of the frontmost dialog or window.

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 (with two parameters to specify the location).


Returns

True.


Examples

Player.clickMouseAt(4, 27)
Player.clickMouseAt(13, -10) « click the close box
Player.clickMouseAt(1, 1, holding: shift ) « select to the upper left


Notes



See Also

Player.doubleClickMouseAt
Player.nClickMouseAt
Player.pressMouseAtSeconds
Player.dragMouseFromTo
Player.setMouseDelay
Player.setTargetWindow
Player.clickMouse
Player.moveMouse


Keywords

mouse[9] XY modifiers

| Top |


clickMouse| Prev | Home | Next |clickSequence

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.