Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.nClickInsideItem
Syntax
Player.nClickInsideItem(theItem, location, n)
Player.nClickInsideItem(theItem, location, n, holding: modifierKeys)
Parameters
theItem is either a name or ID number.
location is an {x, y} list or a point datatype.
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 at the specified location.
Returns
True.
Examples
Player.nClickInsideItem(8, {4, 27}, 5)
Player.nClickInsideItem(8, point.set(4, 27), 5)
Errors
The item does not exist or is not enabled.
Notes
- 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 clickInsideItem(...) verb has an optional labelled parameter, times, so it can be used in place of this verb.
See Also
Player.clickInsideItem
Player.doubleClickInsideItem
Player.clickItem
Player.nClickInsideItemAt
Keywords
customItems[6] modifiers
nClickInsideItemAt
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.