Re: Hide an Item on Desktop
Re: Hide an Item on Desktop
- Subject: Re: Hide an Item on Desktop
- From: M Pulis <email@hidden>
- Date: Thu, 8 Oct 2009 18:18:25 -0700
On Oct 8, 2009, at 4:37 PM, I. Savant wrote:
On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote:
Does anyone know if it's possible to programmatically hide an
single item
(e.g. a file or a mounted disk or a directory) from the Desktop?
Rename it so that it starts with a period. "Dot-files" are hidden.
--
I.S.
Please do not advise this hack. It is not supported by the Finder.
dot files are hidden for a reason.
The Finder does not show nor allow users to create "dot" files nor
directories because they are reserved for the system.
Unless you can absolutely prove that your file fits Apple specs for a
legitimately installed "dot" system file that is not the best practice
to make a non-system file invisible. Seek an alternative. There are
temp directories and other legit facilities.
Under prior Mac OS's, dot files were divers. You could trash a system
by rebooting after saving a file with the name ".sony".
Even if 10.6 doesn't barf, there is no guarantee that your unknown-to-
Apple-and-you-were-warned-not-to-do-this dot file will not corrupt
future systems or not be casually destroyed in the background as part
of a system cleanup properly identifying (your) suspicious files as
viral data.
Be very careful.
Gary
_______________________________________________
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