Re: common type codes & creator codes?
Re: common type codes & creator codes?
- Subject: Re: common type codes & creator codes?
- From: "M. Uli Kusterer" <email@hidden>
- Date: Fri, 24 Oct 2003 14:20:00 +0200
At 13:31 Uhr -0700 23.10.2003, Eddie Hillenbrand wrote:
I working on a app that changes type & creator codes, among other
things.
I would like to know what you consider the 3 most common type codes and
the 3 most common creator codes. I need this info to give my users a
quick way to make common changes. Thank in advance.
Definitely TEXT and PICT. On MacOS X, I'd guess the type code of PDF
files would also be useful.
I wouldn't really hard-code any creator codes, though. Sure, there's
SimpleText ('ttxt', which is also claimed by TextEdit on X) and
QuickTime Player, but it really depends on what your users have
installed, and which they use by preference. E.g. most programmers
will constantly find themselves changing files the OS attributed to
SimpleText or whatever to their development environment (BBEdit
'R*ch', CodeWarrior 'CWIE' or whatever...), which means 'ttxt' as an
option would be useless to them.
The best idea would probably be to use LaunchServices to find the
type and creator codes for some common file suffixes, and use these
as defaults for a freely user-configurable menu.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.