Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.getMenuInfo
Syntax
Player.getMenuInfo(menu)
Player.getMenuInfo(menu, item)
Player.getMenuInfo(menu, submenu)
Player.getMenuInfo(menu, submenu, item)
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.
Action
Gets a complete set of attributes for the indicated menu, submenu or item.
Returns
A record.
Examples
Player.getMenuInfo("Graphics") « a menu
Player.getMenuInfo("Graphics", "Grid On") « a menu item OR submenu
Player.getMenuInfo("Graphics", "Alignment") « a menu item OR submenu
Player.getMenuInfo("Graphics", "Alignment", "Center") « a hierarchical menu item
Errors
Menu or item does not exist or is not enabled; menubar is not available.
Notes
- For a complete list of attributes for each type of object, see the Attributes section of Chapter 6.
- If you get unexplained errors, see the separate Tech Support FAQ document.
- For nested hierarchical menus, use the form "submenu;subsubmenu".
- 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.getMenuAttribute
Player.menuExists
Player.popupExists
Player.getItemInfo
Player.getWindowInfo
Player.setCompleteMatch
Player.outlineMenus
Keywords
query[8] menus
getWindowAttribute
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.