Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.toggleCheckbox
Syntax
Player.toggleCheckbox(theCheckbox)
Player.toggleCheckbox(theCheckbox, holding: modifierKeys)
Parameters
theCheckbox is either 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
Changes the state of the indicated checkbox.
Returns
True.
Examples
Player.toggleCheckbox("Verify")
Errors
The checkbox does not exist or is not enabled.
Notes
- The holding label may be left off, though the result may be less readable.
- To click a whole series of dialog items in one step, use clickSequence(...).
- By default, Player matches only the number of characters specified in the verb parameter. This feature has the benefit of ignoring trailing punctuation, but will occasionally find a false match.
- By default, name matching is not case sensitive.
See Also
Player.setCheckbox
Player.clickSequence
Player.setCompleteMatch
Keywords
dialogItems[6] choices location modifiers
typeCombination
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.