home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20682 < prev    next >
Encoding:
Text File  |  1993-01-05  |  2.3 KB  |  46 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!nih-csl.dcrt.nih.gov!FAXCSL!FIXER
  3. From: fixer@faxcsl.dcrt.nih.gov (Chris Clinging Desperately Tate)
  4. Subject: Re: SFGetFile's directory after an Open Event
  5. Message-ID: <1993Jan5.153640.5291@alw.nih.gov>
  6. Sender: postman@alw.nih.gov (AMDS Postmaster)
  7. Reply-To: fixer@faxcsl.dcrt.nih.gov
  8. Organization: Computer Systems Laboratory, DCRT, NIH
  9. References: <1993Jan4.190815.5881@ccu1.aukuni.ac.nz> <1993Jan4.205533.25405@kth.se> <76105@apple.apple.COM>,<1993Jan5.135459.8834@cujo.curtin.edu.au>
  10. Date: Tue, 5 Jan 1993 15:36:40 GMT
  11. Lines: 33
  12.  
  13. Personally, I prefer to have the Standard File directory set when I open a
  14. file; imagine the following (common, at least in my experience) scenario:
  15.  
  16.    Drag a file to ResEdit
  17.    In ResEdit, copy a few resources to the clipboard
  18.    Again in ResEdit, select "File/New"
  19.  
  20. ResEdit hasn't changed the "default" directory, so the Standard File box pops
  21. up pointing to ResEdit's application folder, which I personally find pretty
  22. useless.
  23.  
  24. I'd imagine that when opening a document, altering it, and choosing "Save
  25. As...", it's more common to place the new document based on where the original
  26. was, not on where the application resides.  It'd be possible to maintain a
  27. record of each open document resides, and monkey with the SF globals to point
  28. to the appropriate folders depending on which doc is being "Save As..."'d, but
  29. that seems a bit too intrusive....
  30.  
  31. It seems this is a tricky question.  For example (just to play devil's advocate
  32. a bit), should the app redirect the SF globals at every 'odoc', or just for
  33. documents that were double-clicked to launch the app?  If you change it at
  34. every 'odoc,' you interfere with people who want to open multiple documents in
  35. succession, but save them all to the same place.  If you just change it at
  36. startup, you take care of that problem, but inconvenience people who want to
  37. save modified documents in the same locations as the originals!
  38.  
  39. Messy.
  40.  
  41. ------------------------------------------------------------------------------
  42. Christopher Tate             | Return of the CryptoSig (tm):
  43. Management Systems Designers |    LR KMBVALMH ZKM HD CNDMH, LV CLYY.  LR
  44.                              |    MDVALMH AKT HDMU CNDMH, BDX'QU DQUNYDDEUJ
  45. fixer@faxcsl.dcrt.nih.gov    |    TDIUVALMH.
  46.