Clean finder Script breaks in OS X
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