home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18623 < prev    next >
Encoding:
Text File  |  1992-11-18  |  1.5 KB  |  31 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. 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
  3. From: leonardr@netcom.com (Leonard Rosenthol)
  4. Subject: Re: Finder "kind" string
  5. Message-ID: <1992Nov19.010143.13432@netcom.com>
  6. Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
  7. References: <1992Nov18.213458.20149@netcom.com>
  8. Date: Thu, 19 Nov 1992 01:01:43 GMT
  9. Lines: 20
  10.  
  11. In article <1992Nov18.213458.20149@netcom.com> mspace@netcom.com (Brian Hall) writes:
  12. >How can you get the string that the finder displays as the file "kind"?
  13. >
  14. >For example, the finder displays "TeachText document" in the kind column
  15. >for a text document with TeachText for a creator.
  16. >
  17.     You basically can't.  You have to build your own list of "common kinds"
  18. and then if it isn't one of those use the DTDB to find the application that
  19. created it and concat (internationally correctly of course!) "document" to it.
  20.  
  21.     Also note that future Finder's may not display the same "kind" fields
  22. currently displayed or that the "kinds" displayed could be more specific like
  23. "StuffIt archive" or "StuffIt Translator" rather than just "StuffIt document".
  24.  
  25. -- 
  26. -----------------------------------------------------------------------------
  27. Leonard Rosenthol            Internet:     leonardr@netcom.com
  28. Director of Advanced Technology        AppleLink:    MACgician
  29. Aladdin Systems, Inc.            GEnie:        MACgician
  30.  
  31.