Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.popupExists
Syntax
Player.popupExists(thePopup)
Parameters
thePopup is either a name or ID number.
Action
Determines if the indicated pop-up menu exists.
Returns
True if it exists, false if not.
Examples
if Player.popupExists("Format")
msg("Exporting...")
if Player.popupExists(12)
msg("by ID")
Notes
- Many dialog items will return false even though they look and act like pop-ups.
- For pop-ups that are implemented as "user items" rather than true pop-ups, use itemExists. Player's balloon help will show the object class (type).
- This verb cannot check for the existence of pop-up items, only the pop-up menu.
- 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.getItemInfo
Player.getItemAttribute
Player.choosePopup
Player.chooseHierPopup
Player.setCompleteMatch
Player.outlineDialog
Keywords
query[2] menus dialogItems
pressMouseAtSeconds
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.