Player
Documentation
AppleScript
User's Guide
Chapter 5, Verbs
One Verb Per Page
exists: does a dialog or window item exist?
Syntax
exists dialog item nameOrID
Parameters
dialog item nameOrID -- name or ID number of the dialog item
Result
true if it exists, false otherwise
Examples
if exists dialog item "Unformatted"
if exists dialog item 12 -- by ID
Notes
- Use Player's balloon help to determine the ID number (if any) and location.
- 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
get info dialog item
click item
yield time
set complete match
exists window
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.