Apple AppleScript Finder Guide User Manual
Page 41

C H A P T E R 2
Finder Objects
Object Class Definitions
29
Like any other file, an alias file also has all the properties defined for object
class Item on page 73: Bounds, Comment, Container, Content Space, Creation
Date, Disk, Folder, Icon, ID, Information Window, Kind, Label Index, Modifica-
tion Date, Name, Physical Size, Position, Selected, Size, and Window.
Unlike other files, an alias file also has this property:
original item
A reference to the original item associated with the alias file.
Class:
Reference
Modifiable:
No
ELEMENT CLASSES
None
COMMANDS HANDLED
Clean Up, Copy, Count, Data Size, Delete, Duplicate, Eject, Empty, Exists, Get,
Make, Move, Open, Print, Put Away, Reveal, Select, Sort, Update
DEFAULT VALUE CLASS RETURNED
Reference to a file or, if you use the plural form alias files, a list of
references.
EXAMPLE
If you run this script from the Script Editor, it reveals the original items for any
alias files that are currently selected:
tell application "Finder"
get selection
repeat with moose in result
if original item of moose exists then
reveal original item of moose
end if
end repeat
end tell