This is strange, actually.
Compare the following two scripts:
tell application "Finder"
set foo to item 1 of (get the selection)
end tell
properties of foo
tell application "Finder"
set foo to item 1 of (get the selection) as alias
end tell
properties of foo
The first returns the properties (one of which is container), but the latter returns an error.
Using the first, although all the properties are returned, if you try to get any particular property, you can get only those properties whose class is defined outside the Finder. E.g., you can get the class, name, displayed name, index, size, creation date, etc., but you can't get the container, owner, etc.
-- Michelle
--
I've noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS.
-- Larry DeLuca