Apple AppleScript Finder Guide User Manual
Page 121

C H A P T E R 3
Finder Commands
Command Definitions
109
This script returns an integer that indicates the total amount of memory
available (including virtual memory), in bytes:
tell application "Finder"
computer memory available
end tell
Copy
3
The Copy command is a request to copy an object or objects to a new location.
The Finder version is similar to the standard application command described
in the AppleScript Language Guide, except that the Finder’s Copy command
must include parameters.
As shown in the syntax definition, put and into are synonyms for copy and
to
. When you compile a script, put and into are automatically changed to
copy
and to.
SYNTAX
( copy | put )
expression ( to | into ) referenceToObject
PARAMETERS
expression
The expression whose value is to be copied. If expression is a
reference or a list of references, the Finder copies the objects
specified by the references.
Class:
Any class
referenceToObject
A reference to the object to which to copy expression.
Class:
Reference
RESULT
A reference to the copied object or a list of references.