• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Programatically hiding file extensions in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Programatically hiding file extensions in Finder (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Correct memory management in -awakeAfterUsingCoder: ?
  • Next by Date: Re: How to change the case of letters
  • Previous by thread: Re: Programatically hiding file extensions in Finder
  • Next by thread: Re: Cocoa-dev Digest, Vol 6, Issue 661
  • Index(es):
    • Date
    • Thread