Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.nClickInsideItemAt
Syntax
Player.nClickInsideItemAt(theItem, x, y, n)
Player.nClickInsideItemAt(theItem, x, y, n, 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.
n 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
Clicks n times inside the indicated item (with two parameters to specify the location).
Returns
True.
Examples
Player.nClickInsideItemAt(10, 3, 4, 5)
Errors
The item does not exist or is not enabled.
Notes
- This verb is identical to calling nClickInsideItem(...) 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.
- The clickInsideItemAt(...) verb has an optional labelled parameter, times, so it can be used in place of this verb.
See Also
Player.clickInsideItemAt
Player.doubleClickInsideItemAt
Player.clickItem
Player.nClickInsideItem
Keywords
customItems[9] XY modifiers
nClickItem
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.