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

Player.chooseHierPopupAt


Syntax

Player.chooseHierPopupAt(x, y, submenu, item)

Player.chooseHierPopupAt(x, y, submenu, item, holding: modifierKeys, extraClick: desiredState)


Parameters

x is the number of pixels from the left side of the frontmost dialog or window.

y is the number of pixels from the top of the frontmost dialog or window.

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 from a hierarchical pop-up menu (with two parameters to specify the location).


Returns

True.


Examples

Player.chooseHierPopupAt(24, 36, "Nested", "Interface")


Errors

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


Notes



See Also

Player.choosePopupAt
Player.chooseHierPopup


Keywords

menus[6] dialogItems XY modifiers

| Top |


chooseHierPopup| Prev | Home | Next |chooseMenu

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.