• 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
Type/Creator codes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Type/Creator codes


  • Subject: Type/Creator codes
  • From: Jamie Curmi <email@hidden>
  • Date: Sun, 13 May 2001 09:53:03 +1000

Hi All,

I can't seem to find any cocoa API for setting Type/Creator codes on files you create. Does anyone know of any?

If not, a few questions:

1) Is Apple working on some?
2) I'm totally new to programming on the mac, so I have no idea how to do this is in carbon. Could someone share how to do this, and maybe I could write a cocoa wrapper for it? Assuming Apple aren't going to release one soon?

Since the source for TextEdit comes with the developer CD, I thought I might "fix" it so that it saves files with type/creator codes TEXT/text which TextEdit seems to work with. Maybe make the .rtf/.txt optional in preferences. Not sure what to do with .rtfd since really the finder should hide that like it does for .app.

Thanks.

Jamie


  • Follow-Ups:
    • Re: Type/Creator codes
      • From: Ali Ozer <email@hidden>
    • Re: Type/Creator codes
      • From: Arno <email@hidden>
  • Prev by Date: Sleep and Wake events
  • Next by Date: Re: Type/Creator codes
  • Previous by thread: Sleep and Wake events
  • Next by thread: Re: Type/Creator codes
  • Index(es):
    • Date
    • Thread