home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14194 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.8 KB

  1. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!usc!elroy.jpl.nasa.gov!ames!data.nas.nasa.gov!taligent!apple!grobbins
  2. From: grobbins@Apple.COM (Grobbins)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: How do I find the Preferences folder?
  5. Summary: FindFolder uses the System folder for prefs under Sys 6
  6. Message-ID: <71374@apple.Apple.COM>
  7. Date: 19 Aug 92 08:18:48 GMT
  8. References: <D88-JWA.92Aug11150248@black.nada.kth.se> <Bt5nwv.9n@grayhawk.rent.com> <D88-JWA.92Aug18233002@dront.nada.kth.se>
  9. Organization: Macintosh Software Architecture Division
  10. Lines: 27
  11.  
  12. In article <D88-JWA.92Aug18233002@dront.nada.kth.se> d88-jwa@dront.nada.kth.se (Jon W{tte) writes:
  13. >> rich@grayhawk.rent.com (Richard Harms) writes:
  14. >   Doesn't 6.0.X have a better way to do this than having to hard-code the name
  15. >   Preferences which might (will) fail on some International systems?
  16. >
  17. >Nope, the official word is:
  18. >1) For system 6, use the name "Preferences" NO MATTER WHAT
  19. >COUNTRY YOU ARE IN.  ...
  20. >2) Under system 7, be SURE to use FindFolder for the kPreferencesFolderType
  21. >and DON'T depend on the name of the folder.
  22.  
  23. I generally recommend that applications use the FindFolder glue under
  24. System 6, or at least imitate it.  FindFolder returns the dirID of the
  25. System folder under System 6 rather than attempt to make a preferences
  26. folder.  So under System 6, just put preferences where FindFolder says
  27. the proper place for them is, the System folder.
  28.  
  29. Under System 6, the FindFolder glue will also return the dirID of the
  30. System folder for most of the other "special" System 7 folders (Extensions
  31. and so forth.)  Clutter is endemic to System 6, and there really is no 
  32. standard for avoiding it.  You can just punt the issue by using FindFolder
  33. under System 6 as you would under System 7, and leaving it at that.
  34.  
  35. Grobbins                         grobbins@apple.com
  36.  
  37. Usual disclaimers apply.
  38.  
  39.