Re: "Open dialogue"-like file system browser
Re: "Open dialogue"-like file system browser
- Subject: Re: "Open dialogue"-like file system browser
- From: Uli Kusterer <email@hidden>
- Date: Wed, 18 Jan 2006 15:16:08 +0100
Am 18.01.2006 um 11:44 schrieb David Zentgraf:
Okay, it's going pretty well so far. I got a nice file browser by
now. I was able to hide the .dot files, but there're still all
sorts of files and directories I don't want in there, namely /var, /
usr, /tmp and so on. What can I use to filter out all the
directories that aren't shown in the Finder either? I can't seem to
find the necessary attributes.
You'll have to check the HFS invisible flag for that. You'll
probably have to use a Carbon call to detect that on a per-file
basis. I believe there are also some special items that Finder just
decides it has to hide, those you'll just have to hard-code. There
used to be a file /.hidden that contained a list of (some) top-level
file names to hide, but last I heard that was retired with 10.4.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden