Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.clickInsideItemAt
Syntax
Player.clickInsideItemAt(theItem, x, y)
Player.clickInsideItemAt(theItem, x, y, holding: modifierKeys)
Parameters
theItem is either a name or ID number.
x is the number of pixels from the left side of the item.
y is the number of pixels from the top of the item.
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 inside the indicated item (with two parameters to specify the location).
Returns
True.
Examples
Player.clickInsideItemAt("Up Down Arrows", 10, 10)
Errors
The item does not exist or is not enabled.
Notes
- This verb is identical to calling clickInsideItem(...) with a point or list for location.
- This verb is useful for handling a variety of custom interface elements, such as the little up/down arrows or a matrix of iconic buttons.
- Use Player's balloon help to determine the ID number (if any) and location.
- The holding label may be left off, though the result may be less readable.
- As an alternative to doubleClick and nClick, this verb has an optional labelled parameter, times.
See Also
Player.doubleClickInsideItemAt
Player.nClickInsideItemAt
Player.clickItem
Player.setCompleteMatch
Player.clickInsideItem
Keywords
customItems[7] XY modifiers
clickItem
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.