Re: Changing the 'invisible' property
Re: Changing the 'invisible' property
- Subject: Re: Changing the 'invisible' property
- From: Christopher Nebel <email@hidden>
- Date: Thu, 14 Aug 2003 17:34:31 -0700
On Thursday, August 14, 2003, at 11:11 AM, Doug McNutt wrote:
/Developer/Tools/SetFile -a V <file or folder> (makes invisible)
/Developer/Tools/SetFile -a v <file or folder> (makes visible)
The -a is for "attributes" and there are others that can be set.
But. . .
Those HFS and HFS+ conventions may be ignored in general by OS neXt in
favor of UNIX conventions that names starting with a dot are
invisible.
Actually, you get both behaviors. Anything with its "invisible" bit
set is invisible, as is anything starting with a dot. The one tricky
bit is that you'll probably need to prod the Finder using its "update"
command afterwards to get it to actually show (or not show) the file,
since it normally relies on modification dates changing to let it know.
Restarting the Finder will work, too, but that's a little drastic.
Some complete directories are hidden by inclusion in /.hidden - a text
file.
Only the root directory.
--Chris Nebel
Apple Development Tools
_______________________________________________
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.