• 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
Clean finder Script breaks in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Clean finder Script breaks in OS X


  • Subject: Clean finder Script breaks in OS X
  • From: Kevin Diffily <email@hidden>
  • Date: Wed, 23 May 2001 17:32:03 -0400

I have a script that worked very well in OS 9.1 but doesn't work now. Since I am just learning AppleScript it is difficult for me to debug this. I don't believe the original said (every <<class prcs>>.... but my memory could be wrong.


tell application "Finder"
activate
try
clean up desktop by kind
end try
--hide any other active application windows
try
set visible of (every +class prcs; whose file type is not "FNDR" and visible is true) to false
end try
close every window
end tell


--
Kevin Diffily
InterNetWorkingSolutions
Enterprise Class Solutions for All Enterprises
VOICE: 1.866.inetws.net (Toll Free), 802.563.3100
FAX: 888.726.9030


  • Prev by Date: Calling other OSA Scripts
  • Next by Date: was Re: Scope of globals, parents and children
  • Previous by thread: Re: Calling other OSA Scripts
  • Next by thread: was Re: Scope of globals, parents and children
  • Index(es):
    • Date
    • Thread