PreFab...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



See Also

Player.radioExists
Player.getItemInfo
Player.getItemAttribute
Player.clickSequence
Player.setCompleteMatch


Keywords

dialogItems[3] choices location modifiers

| Top |


screenCoordinates| Prev | Home | Next |setCaseSensitive

Updated on 2/5/97 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.