Re: Programatically hiding file extensions in Finder
Re: Programatically hiding file extensions in Finder
- Subject: Re: Programatically hiding file extensions in Finder
- From: Dave Fernandes <email@hidden>
- Date: Tue, 5 May 2009 00:49:22 -0400
NSDictionary* attributes = [NSDictionary dictionaryWithObject:
[NSNumber numberWithBool:YES] forKey:NSFileExtensionHidden];
[[NSFileManager defaultManager] changeFileAttributes:attributes
atPath:path];
On May 4, 2009, at 6:40 PM, Finlay Dobbie wrote:
On Fri, May 1, 2009 at 8:30 AM, Erg Consultant
<email@hidden> wrote:
Is there a way to do this? I checked all the File Manager docs and
would have thought there would have been something in the cat info
to do it, but apparently not.
OSStatus LSSetExtensionHiddenForRef (
const FSRef *inRef,
Boolean inHide
);
_______________________________________________
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:
40utoronto.ca
This email sent to email@hidden
_______________________________________________
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