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

Player.chooseHierPopup


Syntax

Player.chooseHierPopup(menu, submenu, item)

Player.chooseHierPopup(menu, submenu, item, holding: modifierKeys, extraClick: desiredState)


Parameters

popup is either a name, ID number, or location (an {x, y} list or a point datatype).

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.

extraClick: desiredState, set to 'false' to disable the extra click (for a slight increase in speed but at the risk of the app not noticing the changed popup value)


Action

Chooses a command from a hierarchical pop-up menu.


Returns

True.


Examples

Player.chooseHierPopup("Don't", "Know", "One")


Errors

The pop-up menu, submenu or item does not exist or is not enabled.


Notes



See Also

Player.choosePopup
Player.popupExists
Player.setCompleteMatch
Player.chooseHierPopupAt


Keywords

menus[4] dialogItems location modifiers

| Top |


chooseHierMenu| Prev | Home | Next |chooseHierPopupAt

Updated on 1/24/99 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.