• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Closing a window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Help on Checking an applications dictionary for a command
  • Next by Date: Re: "read from" and non-lo-ascii characters
  • Previous by thread: Re: Help on Checking an applications dictionary for a command
  • Next by thread: Movie Script in Quicktime 7.0
  • Index(es):
    • Date
    • Thread