home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!cs.utexas.edu!usc!wupost!waikato.ac.nz!ldo
- From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
- Newsgroups: comp.sys.mac.programmer
- Subject: Minimal aliases
- Message-ID: <1992Aug31.174347.10473@waikato.ac.nz>
- Date: 31 Aug 92 17:43:47 +1200
- Organization: University of Waikato, Hamilton, New Zealand
- Lines: 23
-
- On page 27-19 of IM6 is the following interesting sentence:
-
- "GetAliasInfo cannot provide all kinds of information on a minimal alias."
-
- In my experimentation with a set of Alias Manager externals I wrote for
- HyperCard, I found out what this meant: If you create an alias with
- NewAliasMinimal or NewAliasMinimalFromFullPath, then GetAliasInfo can
- only return the leaf name (asiAliasName) and volume name (asiVolumeName)
- (and it can probably return the zone name and server name as well, if
- appropriate--haven't checked, as I don't have a network at home). What it will
- *not* do is return any information for positive selector codes--asiParentName
- and above.
-
- This strikes me as a little odd, as that information must be there, for an
- alias created with NewAliasMinimalFromFullPath, at least.
-
- Also, it seems to me there is other information stored in the alias that cannot
- be returned via GetAliasInfo. For example, you can't tell if the object being
- aliased is supposed to be a file or a folder--not without actually resolving
- the alias.
-
- Lawrence
- with an obsession about completeness.
-