Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.windowExists
Syntax
Player.windowExists(theWindow)
Parameters
theWindow is either a name or number (by stacking order).
Action
Determines if the indicated window exists.
Returns
True if it exists, false if not.
Examples
with Player
while windowExists(1)
chooseMenu("File", "Close")
if Player.windowExists("Untitled")
« do something
Notes
- Palettes are often in front of windows, even if they are not visible!
- 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.getWindowInfo
Player.getWindowAttribute
Player.setCompleteMatch
Player.outlineDialog
Keywords
query[7] windows dialogs
yieldTime
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.