Closing a window
Closing a window
- Subject: Closing a window
- From: David Siberry <email@hidden>
- Date: Wed, 22 Jun 2005 10:52:34 +0000
Hi I am trying to write a script to close a window in Mac OS 9. I have
written a script in OS X but it does not work on OS 9.
Can anyone help me convert the OS X script to OS 9?
Cheers
David :-)
tell application "Finder"
set theWindows to (get every window)
repeat with eachWindow in theWindows
if (target of eachWindow as text) begins with "Ghost Image" then
close eachWindow
end if
end repeat
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden