• 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: Finder Info
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Info


  • Subject: Re: Finder Info
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 24 Aug 2012 13:02:04 -0700

On Fri, Aug 24, 2012, at 11:05 AM, koko wrote:
> I need to set a file's TYPE in the ancient FinderInfo to TEXT as an older
> program needs to use the file and it OS8 Open filters on TYPE.
>
> I have looked at a number of FSSpec and FSRef but have had no success.
>
> If anyone has done this successfully I would sure like to hear about it.

You want -[NSFileManager setAttributes:ofItemAtPath:error:] in
combination with NSFileHFSTypeCode.

--Kyle Sluder
_______________________________________________

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

  • Follow-Ups:
    • Re: Finder Info
      • From: koko <email@hidden>
References: 
 >Finder Info (From: koko <email@hidden>)

  • Prev by Date: Finder Info
  • Next by Date: Is it feasible to nest NSTableViews inside a view-based NStableView ?
  • Previous by thread: Finder Info
  • Next by thread: Re: Finder Info
  • Index(es):
    • Date
    • Thread