Apple AppleScript Finder Guide User Manual
Page 131

C H A P T E R 3
Finder Commands
Command Definitions
119
else
display dialog "The Storage cartridge isn’t mounted."
end if
end tell
Note that you can’t use the Move command instead of the Copy and Delete
commands in this script, because the Move command changes to Copy when
moving items between volumes.
Get
3
The standard application command Get is a request to return the value of an
object or objects. The Finder version of the Get command is similar to the
standard application command, except that in most cases the Finder simply
returns a reference to objects or objects requested. For properties that consist
of a value (such as the Name property) rather than a reference (such as the
Desktop property of the Finder application), the Finder returns the value. In all
cases, the Finder assigns the value returned to the predefined variable result.
SYNTAX
[ get ]
referenceToObject [ as className ]
PARAMETERS
referenceToObject
A reference to an object whose value is to be returned in the
result
variable or a list of references.
Class:
Reference or list of references
className
A class identifier that specifies the desired value class for
the returned data.
Class:
Class identifier
Default value:
The default value class for the object or objects