PreFab...Player...Documentation...AppleScript...User's Guide...Chapter 5, Verbs...One Verb Per Page...

exists: does a window, dialog or palette exist?


Syntax

exists window nameOrNumber


Parameters

window nameOrNumber -- name or number (by stacking order) of the window


Result

true if it exists, false otherwise


Examples

repeat while exists window 1
   do menu menu item "Close" of menu "File"
end repeat
if exists window "Untitled"


Notes



See Also

get info window
yield time
set complete match

| Top |


exists dialog item| Prev | Home | Next |get info menu

Updated on 2/5/97 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.