Player
Documentation
AppleScript
User's Guide
Chapter 5, Verbs
One Verb Per Page
exists: does a standard button exist?
Syntax
exists button nameOrID
Parameters
button nameOrID -- name or ID number of the button
Result
true if it exists, false otherwise
Examples
if exists button "Erase?" -- thank goodness for confirmation dialogs!
if exists button 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 button
yield time
set complete match
exists radio button
Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.
This site built and maintained using Stage Three, a set of custom Frontier scripts.