Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.doubleClickItem
Syntax
Player.doubleClickItem(theItem)
Player.doubleClickItem(theItem, holding: modifierKeys)
Parameters
theItem is a name, ID number, or location (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
Double-clicks the indicated item.
Returns
True.
Examples
Player.doubleClickItem(14) « see notes
Errors
The item does not exist or is not enabled.
Notes
- This verb is for other dialog or window items, such as icons and text entry boxes.
- Due to differences in the way applications handle a double click (and differences in machine speed and the control panel setting), there is some chance that an application will miss Player's double click. For text entry boxes in dialogs, there's another solution that often works: click in the box prior to your target and type tab; the contents of your target box should be selected.
- 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.
See Also
Player.clickItem
Player.nClickItem
Player.doubleClickInsideItem
Keywords
customItems[2] location modifiers
doubleClickMouse
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.