Re: Making folders invisible
Re: Making folders invisible
- Subject: Re: Making folders invisible
- From: "Marc K. Myers" <email@hidden>
- Date: Wed, 07 Aug 2002 16:29:13 -0400
- Organization: [very little]
>
From: Andrew Monteith <email@hidden>
>
To: "email@hidden (E-mail)"
>
<email@hidden>
>
Subject: Making folders invisible
>
Date: Wed, 7 Aug 2002 12:01:46 +0100
>
>
Hi,
>
>
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?
I don't know what you can do under OS X, but in OS 9.x you can use the
file visibility osax. I just tried it to see if it works on folders and
it does.
property theFldr : (choose folder) as text
property theState : true
if theState then
make file invisible file theFldr
set theState to false
else
make file visible file theFldr
set theState to true
end if
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[8/7/02 4:28:26 PM]
_______________________________________________
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.