PreFab...Player...Documentation...Frontier...User's Guide...Chapter 5, Verbs...One Verb Per Page...

Player.chooseHierMenu


Syntax

Player.chooseHierMenu(menu, submenu, item)

Player.chooseHierMenu(menu, submenu, item, holding: modifierKeys)

Player.chooseHierMenu(menu, submenu, item, repeatUntilSuccessful: desiredState)

Player.chooseHierMenu(menu, submenu, item, holding: modifierKeys, repeatUntilSuccessful: desiredState)


Parameters

menu is either a name or position number.

submenu is either a name or position number.

item is either a name or position number.

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.

repeatUntilSuccessful desiredState, an optional parameter, if true, Player will repeat the command until it is successful (or until the user aborts with command-period)


Action

Chooses a command from a hierarchical menu.


Returns

True.


Examples

Player.chooseHierMenu("Format", "Font", "Courier")


Errors

The menu or item does not exist or is not enabled.


Notes



See Also

Player.chooseMenu
Player.menuExists
Player.setCompleteMatch


Keywords

menus[2] modifiers version1.1parameter

| Top |


checkboxExists| Prev | Home | Next |chooseHierPopup

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.