Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.clickInsideItem
Syntax
Player.clickInsideItem(theItem, location)
Player.clickInsideItem(theItem, location, holding: modifierKeys)
Parameters
theItem is either a name or ID number.
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 inside the indicated item at the specified location.
Returns
True.
Examples
Player.clickInsideItem( "Up Down Arrows", {10, 10} )
Player.clickInsideItem( "Up Down Arrows", point.set(10, 10) )
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.
- As an alternative to doubleClick and nClick, this verb has an optional labelled parameter, times.
See Also
Player.doubleClickInsideItem
Player.nClickInsideItem
Player.clickItem
Player.setCompleteMatch
Player.clickInsideItemAt
Keywords
customItems[4] modifiers
clickInsideItemAt
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.