Type/Creator codes
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