• 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: Resource fork question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource fork question


  • Subject: Re: Resource fork question
  • From: Frank Midgley <email@hidden>
  • Date: Tue, 2 Mar 2004 13:33:12 -0600

On Mar 2, 2004, at 11:41AM, Peter Schols wrote:

- Is the photoshop icon preview stored in the resource fork?

No, I think it's in the invisible .DS_Store file in the same directory as the file. If the FSCopyObject code below doesn't already handle it you'll probably need to use Carbon API's to get and then set the custom icon.

- How can I copy a file, including the resource fork (and possibly other metadata) using Cocoa calls (if possible) or using Carbon (if there are no Cocoa options available).

The Carbon FSCopyObject sample code does this:

http://developer.apple.com/samplecode/Sample_Code/Files/ FSCopyObject.htm

-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Resource fork question
      • From: Robert Cerny <email@hidden>
    • Re: Resource fork question
      • From: Mark Mieczkowski <email@hidden>
References: 
 >Resource fork question (From: Peter Schols <email@hidden>)

  • Prev by Date: Re: CFDictionary
  • Next by Date: Re: How to obtain the processor temperature?
  • Previous by thread: Resource fork question
  • Next by thread: Re: Resource fork question
  • Index(es):
    • Date
    • Thread