home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcom.com!leonardr
- From: leonardr@netcom.com (Leonard Rosenthol)
- Subject: Re: Finder "kind" string
- Message-ID: <1992Nov19.010143.13432@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1992Nov18.213458.20149@netcom.com>
- Date: Thu, 19 Nov 1992 01:01:43 GMT
- Lines: 20
-
- In article <1992Nov18.213458.20149@netcom.com> mspace@netcom.com (Brian Hall) writes:
- >How can you get the string that the finder displays as the file "kind"?
- >
- >For example, the finder displays "TeachText document" in the kind column
- >for a text document with TeachText for a creator.
- >
- You basically can't. You have to build your own list of "common kinds"
- and then if it isn't one of those use the DTDB to find the application that
- created it and concat (internationally correctly of course!) "document" to it.
-
- Also note that future Finder's may not display the same "kind" fields
- currently displayed or that the "kinds" displayed could be more specific like
- "StuffIt archive" or "StuffIt Translator" rather than just "StuffIt document".
-
- --
- -----------------------------------------------------------------------------
- Leonard Rosenthol Internet: leonardr@netcom.com
- Director of Advanced Technology AppleLink: MACgician
- Aladdin Systems, Inc. GEnie: MACgician
-
-