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

  1. Path: sparky!uunet!dtix!mimsy!lhc!mcmathmac.nlm.nih.gov!user
  2. From: mcmath@csb1.nlm.nih.gov (Chuck 'Amnesia causes.... uh, I forget' McMath)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Human Interface questions, specific functionality
  5. Message-ID: <mcmath-280892082002@mcmathmac.nlm.nih.gov>
  6. Date: 28 Aug 92 12:25:03 GMT
  7. References: <1992Aug27.175328.1@tesla.njit.edu> <1992Aug27.230932.11741@verity.com>
  8. Sender: usenet@nlm.nih.gov (usenet news poster)
  9. Followup-To: comp.sys.mac.programmer
  10. Organization: MSD
  11. Lines: 46
  12.  
  13. In article <1992Aug27.230932.11741@verity.com>, anders@verity.com (Anders
  14. Wallgren) wrote:
  15. > In article <1992Aug27.175328.1@tesla.njit.edu> Elliotte Rusty
  16. > Harold, erh0362@tesla.njit.edu writes:
  17. > >    2.  A user opens a file on a locked disk and makes changes to it.
  18. >  
  19. > >    (Alternately the user locks the disk while the file is open.) 
  20. > When
  21. > >    the user attempts to save should I 
  22. > >    
  23. > >      a)  Simply post an error message saying the disk is locked? 
  24. > >      b)  Check that the disk is locked before every save (If so
  25. > how?) 
  26. > >      and if it is do a Save As instead?
  27. > >      c)  Check that the disk is locked before every save  
  28. > >      and eject the disk and post a dialog asking the user to unlock
  29. > >      and reinsert it?
  30. > If the user opens a file that is locked or that is on a locked
  31. > volume, you should probably warn them that any changes they make
  32. > can't be saved to that file.  You might still enable Save and treat
  33. > that command like Save As (or treat it like they're saving a new
  34. > document).
  35.     I would think that when you open a file on a locked volume you should do
  36. this:
  37.  
  38. 1. Put up a dialog telling the user they can't change this file
  39. 2. Disable 'Save', but of course leave 'Save As' enabled.
  40. 3. If they do a 'Save As' to another volume, the file becomes 'changeable',
  41. because it's not the same file they opened.
  42.  
  43. This seems to make sense.
  44.  
  45. In the case where someone opens a file, ejects the diskette, locks it,
  46. reinserts it and tries to save, you'd get a file manager error when the
  47. save is attempted.  I would put up an error dialog and just go on.  If they
  48. insist on trying to save to a locked volume they deserve what they get.
  49.  
  50. chuck
  51.  
  52. |- chuck mcmath - mcmath@csb1.nlm.nih.gov - MSD, Inc. ------------|
  53. |- National Library of Medicine - National Institutes of Health --|
  54. |- Bethesda, MD 20894 - <clever message on vacation until Sept 1> |
  55. |- "Hey batter, hey batter, hey batter, swing" - Anon. -----------|
  56.