On 28 May 2010, at 18:25, James Walker wrote:

> On 5/27/2010 12:43 PM, Bill Appleton wrote:
>> *1) I can't hide a file, or test if a file is hidden*
>> 
>> I had to resort to FSGetCatalogInfo -- there is no way to do it through
>> NSFileManager, etc. Right?
> 
> Since there are several ways to hide a file, I don't think FSGetCatalogInfo 
> will necessarily tell you if a file is invisible.  The right way (before 
> 10.6, anyway) is to use LSCopyItemAttribute with the attribute 
> kLSItemExtensionIsHidden.

I don't think that's the right thing at all.  kLSItemExtensionIsHidden would 
seem to be talking about the *extension*.

Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to