home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20634 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!spool.mu.edu!enterpoop.mit.edu!eru.mt.luth.se!kth.se!dront.nada.kth.se!d88-jwa
  2. From: d88-jwa@dront.nada.kth.se (Jon Wtte)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: SFGetFile's directory after an Open Event
  5. Message-ID: <1993Jan4.205533.25405@kth.se>
  6. Date: 4 Jan 93 20:55:33 GMT
  7. References: <1993Jan4.190815.5881@ccu1.aukuni.ac.nz>
  8. Sender: usenet@kth.se (Usenet)
  9. Organization: Royal Institute of Technology, Stockholm, Sweden
  10. Lines: 24
  11. Nntp-Posting-Host: dront.nada.kth.se
  12.  
  13. In <1993Jan4.190815.5881@ccu1.aukuni.ac.nz> russells@ccu1.aukuni.ac.nz (Russell Street) writes:
  14.  
  15. >After an application receives an 'odoc' Apple Event to open a document
  16. >should it arrange it so the next Standard File [Open] Dialog that is
  17. >brought up by the user is the same directory that the 'odoc' document
  18. >came from?
  19.  
  20. If Apple thought that would be the right thing to do, they would
  21. have done it themselves. Doing so requires changing lo-mem globals;
  22. that's a dangerous habit you should break out of.
  23.  
  24. Not to mention: if the app gets an odoc, the user most probably has
  25. the folder open in the Finder, and going there and double-clicking
  26. would be much easier than choosing "Open" in the File menu.
  27.  
  28. Cheers,
  29.  
  30.                             / h+
  31.  
  32. -- 
  33.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  34.  
  35.    Speed is arbitrary. Don't believe me? Try a PowerBook 180 running
  36.    System 7 against a 486 laptop running Windows 3.1.
  37.