Re: Making folders invisible
Re: Making folders invisible
- Subject: Re: Making folders invisible
- From: "Robert C. Jacobson" <email@hidden>
- Date: Wed, 7 Aug 2002 08:41:51 -0400
At 12:01 PM +0100 8/7/02, Andrew Monteith wrote:
Does anyone know if it's possible to use Applescript to make folders
invisible so they don't appear in the Finder and what code i'd need for
this?
Use do shell script to run the "SetFile" (e.g. SetFile -a V
path/to/folder) command. You need the Developer Tools installed.
You can save the following as a droplet to make a folder (or a file)
invisible to the Finder.
on open theFolder
set f to "'" & POSIX path of (theFolder as string) & "'"
do shell script "/Developer/Tools/SetFile -a V " & f
end open
--
The University of Stirling is bonkers if it thinks this "disclaimer"
is a good idea.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson email@hidden
BS, Aeronautical Engineering Univ. of Md., College Park
Flight Ops. Team - SOlar Heliospheric Observatory (SOHO)
(301) 286-1591
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.