• 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
Re: Making folders invisible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Making folders invisible (From: Andrew Monteith <email@hidden>)

  • Prev by Date: Re: Making folders invisible
  • Next by Date: Re: Migrating from Photoshop 5.5 to 7
  • Previous by thread: Re: Making folders invisible
  • Next by thread: Re: Making folders invisible
  • Index(es):
    • Date
    • Thread