home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14797 < prev    next >
Encoding:
Text File  |  1992-08-31  |  3.4 KB  |  64 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!agate!iat.holonet.net!uupsi!psinntp!newstand.syr.edu!greeny
  3. From: greeny@top.cis.syr.edu (J. S. Greenfield)
  4. Subject: Re: Getting the alias'd name from a drag-and-drop app?
  5. Message-ID: <1992Aug29.202734.24330@newstand.syr.edu>
  6. Organization: Syracuse University, CIS Dept.
  7. References: <alen.714928925@crash> <1992Aug28.152653.10332@bmers95.bnr.ca>
  8. Date: Sat, 29 Aug 92 20:27:34 EDT
  9. Lines: 53
  10.  
  11. In article <1992Aug28.152653.10332@bmers95.bnr.ca> ross@bnr.ca (Ross Brown) writes:
  12. >
  13. >No.  The alternative ('odoc' Apple event handling) would give you the same
  14. >thing.  The Finder and Standard File package always, always (see *EXCEPTION*
  15. >below) resolve aliases before handing files to your application.  This is good
  16. >for at least two reasons:  one, it allows most System-7-unaware applications to
  17. >continue to work under System 7 (since document aliases have the same creator
  18. >and type as the originals, how could the application be expected to know the
  19. >difference?); and two, it forces the vast majority of System-7-aware
  20. >applications to behave consistently in their handling of aliases, to the relief
  21. >of users everywhere.
  22.  
  23. I disagree.  I think it was a big mistake for Apple to leave no way for an
  24. application to received dropped aliases without resolving them.
  25.  
  26. I think it is fine to make it the *normal* technique for doing things; however,
  27. I can't see any good reason why the resolving of alias files upon dropping
  28. them should not have been made optional by, for example, using one of the
  29. currently reserved bits in the SIZE resource.  This would preserve the
  30. proper operation of old applications, allow normal applications to have
  31. aliases resolved, but still allow special applications--for example, those
  32. which extend the functionality of the Finder in some manner--to handle aliases
  33. in the same, straightforward manner that the Finder handles aliases.
  34.  
  35. Remember, the Finder doesn't *always* handle aliases the same way.  Sure
  36. many operations, like double-clicking an alias, for example, are equivalent
  37. to double-clicking the original--but many other operations, like dropping an
  38. alias into a folder, for example, operate on the *alias* itself, and not the
  39. original.
  40.  
  41. As for the standard file package--I find it acceptable since one is able to
  42. circumvent the automatic alias resolution (and other things); however, I
  43. find it very strange (and problematic, perhaps, for compatibility with
  44. older applications) that one has to specifically include alias file types
  45. when constructing type lists.  That is--by default, alias are *not* invisible
  46. to the standard file package.  If your standard file dialog includes "APPL"
  47. for example, you have to explictly include "adrp" in the list in order to
  48. have aliases to applications included.  This mix of transparent/non-transparent
  49. behavior is problematic in my eyes.
  50.  
  51. In my view, apple should have made the use of aliases in *both* cases
  52. completely transparent for normal use, with a simple optional removal of the
  53. automatic resolution.
  54.  
  55. I remain hopeful that Apple will see fit to do something along these lines
  56. for the case of drag-and-drop alias-resolution in the release version of
  57. 7.1, or at least, at some point in the future.
  58.  
  59. -- 
  60. J. S. Greenfield                                         greeny@top.cis.syr.edu
  61. (I like to put 'greeny' here, 
  62. but my d*mn system wants a 
  63. *real* name!)                        "What's the difference between an orange?"
  64.