Re: Hide an Item on Desktop

2009-10-09 Thread Jens Alfke
On Oct 9, 2009, at 10:37 AM, Maggie Zhang wrote: What I want is to hide existing mounted volumes whose names I don't want to change. Setting the HFS "invisible" bit is the way to go, then. I've done this before. You can do this from the command line: SetFile -a V /Volumes/HideMe D

Re: Hide an Item on Desktop

2009-10-09 Thread Paul M
This will be the POSIX spec, not an Apple one. OSX has been POSIX compliant since Leopard, accoring to this page: http://developer.apple.com/leopard/overview/osfoundations.html paulm On 10/10/2009, at 8:23 AM, Michael Domino wrote: M Pulis wrote: Unless you can absolutely prove that your f

Re: Hide an Item on Desktop

2009-10-09 Thread Michael Domino
M Pulis wrote: > 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. Can someone point ou

Re: Hide an Item on Desktop

2009-10-09 Thread Maggie Zhang
Thanks Dave. I will give that a try. MZ On Fri, Oct 9, 2009 at 10:49 AM, Dave Carrigan wrote: > > On Oct 9, 2009, at 10:37 AM, Maggie Zhang wrote: > > What I want is to hide existing mounted volumes whose names I don't want >> to >> change. Say, I create 20 disk images and mount them all on the

Re: Hide an Item on Desktop

2009-10-09 Thread Dave Carrigan
On Oct 9, 2009, at 10:37 AM, Maggie Zhang wrote: What I want is to hide existing mounted volumes whose names I don't want to change. Say, I create 20 disk images and mount them all on the desktop but I want them to be selectively invisible from the Desktop and can still be accessible (e.g

Re: Hide an Item on Desktop

2009-10-09 Thread Maggie Zhang
Thanks all of you for your answers. I apologize for the unclear question in the beginning. Let me try to explain it again. What I want is to hide existing mounted volumes whose names I don't want to change. Say, I create 20 disk images and mount them all on the desktop but I want them to be selec

Re: Hide an Item on Desktop

2009-10-09 Thread Dave Camp
On Oct 9, 2009, at 6:50 AM, David Patrick Henderson wrote: 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 unawar

Re: Hide an Item on Desktop

2009-10-09 Thread David Patrick Henderson
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

Re: Hide an Item on Desktop

2009-10-09 Thread I. Savant
On Oct 9, 2009, at 2:00 AM, M Pulis wrote: Following trends, it is easy to imagine a future Desktop becoming an increasingly protected space. One thing I have learned in 25 years is never underestimate Apple's ability to change and force our world to recompile. 10.6 just killed off an entir

Re: Hide an Item on Desktop

2009-10-09 Thread I. Savant
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. -- I.S. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to th

Re: Hide an Item on Desktop

2009-10-08 Thread Paul M
On 9/10/2009, at 2:51 PM, M Pulis wrote: Naming a file with leading period is THE traditional unix way of making a file less visible to the casual observer. OSX is based on unix. (Actually, isnt OSX the most widely used OS legally able to use the name 'Unix'?) The dialog message above i

Re: Hide an Item on Desktop

2009-10-08 Thread M Pulis
On Oct 8, 2009, at 7:55 PM, Dave Carrigan wrote: On Oct 8, 2009, at 6:51 PM, M Pulis posted a screen capture of a finder error. That's just the finder being nice to the non-techies. The longer "if you name this with a dot then you'll have to hit a special key combination in order to see

Re: Hide an Item on Desktop

2009-10-08 Thread Greg Guerin
Dave Carrigan wrote: That's just the finder being nice to the non-techies. The longer "if you name this with a dot then you'll have to hit a special key combination in order to see it" explanation is more confusing and unnecessary. It certainly doesn't mean that .files are not allowed or

Re: Hide an Item on Desktop

2009-10-08 Thread Dave Carrigan
On Oct 8, 2009, at 6:51 PM, M Pulis posted a screen capture of a finder error. That's just the finder being nice to the non-techies. The longer "if you name this with a dot then you'll have to hit a special key combination in order to see it" explanation is more confusing and unnecessar

Re: Hide an Item on Desktop

2009-10-08 Thread M Pulis
<> On Oct 8, 2009, at 6:31 PM, Kyle Sluder wrote: On Thu, Oct 8, 2009 at 6:18 PM, M Pulis wrote: Please do not advise this hack. It is not supported by the Finder. Erm? The Finder very much supports not displaying dot files. And open/save dialogs even support toggling their display (Cmd-Op

Re: Hide an Item on Desktop

2009-10-08 Thread Thomas Wetmore
Dot files have been used by many program, for many years, in all UNIX based systems, for all kinds of reasons. To claim that they are "reserved for the system" is patently false. Just cd around your file system and try a few "ls -a" 's here and there. What has "being supported by the finder

Re: Hide an Item on Desktop

2009-10-08 Thread James Walker
M Pulis wrote: 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

Re: Hide an Item on Desktop

2009-10-08 Thread Kyle Sluder
On Thu, Oct 8, 2009 at 6:18 PM, M Pulis wrote: > Please do not advise this hack. It is not supported by the Finder. Erm? The Finder very much supports not displaying dot files. And open/save dialogs even support toggling their display (Cmd-Opt-. I believe?) > The Finder does not show nor allow

Re: Hide an Item on Desktop

2009-10-08 Thread M Pulis
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" a

Re: Hide an Item on Desktop

2009-10-08 Thread I. Savant
On Thursday, October 8, 2009, Ken Thomases > Well, there's also the hidden bit in the file's metadata.  It's accessible a > number of ways: > I thought I read somewhere that this isn't always honored. At the least it's not supported on all file systems, I don't believe. Cant find references, t

Re: Hide an Item on Desktop

2009-10-08 Thread Ken Thomases
On Oct 8, 2009, at 6: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" ar

Re: Hide an Item on Desktop

2009-10-08 Thread I. Savant
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. _

Hide an Item on Desktop

2009-10-08 Thread Maggie Zhang
Hi, 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? Thanks! MZ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moder