Player
Documentation
Frontier
User's Guide
Chapter 5, Verbs
One Verb Per Page
Player.getWindowAttribute
Syntax
Player.getWindowAttribute(theWindow, theAttribute)
Parameters
theWindow is either a name or number (by stacking order).
theAttribute is a named attribute.
Action
Gets the specified attribute of the window or dialog.
Returns
A string or number, depending on the attribute.
Examples
with Player « ", attributes" was required in 1.0x but is optional in 1.1
getWindowAttribute("Sample", location)
with Player
getWindowAttribute(1, kind) « frontmost dialog (or window)
Errors
Window or attribute does not exist.
Notes
- Palettes are often in front of windows, even if they are not visible!
- For a complete list of attributes for each type of object, see the Attributes section of Chapter 6.
- 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.windowExists
Player.getItemAttribute
Player.getMenuAttribute
Player.setCompleteMatch
Player.outlineDialog
Keywords
query[13] windows dialogs
getWindowInfo
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.