Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.selectRadio
Syntax
Player.selectRadio(theRadio)
Player.selectRadio(theRadio, holding: modifierKeys)
Parameters
theRadio 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
Selects the indicated radio button.
Returns
True.
Examples
Player.selectRadio("24 hour")
with Player « the Stationary radio button in SimpleText is an icon
chooseMenu("File", "Save As")
selectRadio(15) « it doesn't have a name ==> use the ID
Errors
The radio button 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(...).
- Use Player's balloon help to determine the ID number (if any) and location.
- 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.radioExists
Player.getItemInfo
Player.getItemAttribute
Player.clickSequence
Player.setCompleteMatch
Keywords
dialogItems[3] choices location modifiers
setCaseSensitive
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.