Re: Hide an Item on Desktop
Re: Hide an Item on Desktop
- Subject: Re: Hide an Item on Desktop
- From: David Patrick Henderson <email@hidden>
- Date: Fri, 9 Oct 2009 06:50:50 -0700
On 09 Oct 2009, at 03:44, I. Savant wrote:
On Oct 8, 2009, at 9:18 PM, M Pulis wrote:
Please do not advise this hack. It is not supported by the Finder.
Wrong.
Depends on one's definition of "supported". One cannot rename a file
or folder in the Finder directly with a leading '.', or a ':'.
Attempting to do so will cause warning dialogs for all these cases
(and perhaps of which I am unaware). So one can certainly claim that
the Finder does not support these cases; however, the Finder will
handle these files if created through some other medium such as a
terminal program. In the case of a leading '.', Finder does not show
such files to the user. In the case of a ':', Finder displays it as a
'/' or it does at least in Snow Leopard (I'm fairly certain that in
earlier versions of Mac OS X that even the '/' was a forbidden
character in file/folder names in the Finder).
Dave
--
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult." -- C. A. R.
"Tony" Hoare
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden