Print
A Print command is a request to print one or more objects. The Finder version of the Print command is identical to the standard version described in the AppleScript Language Guide.
SYNTAX
print referenceToObject
PARAMETER
- referenceToObject
- A reference to the object or objects to print--typically files
or containers--or a list of references.
Class: Reference or list of references
RESULT
Reference to the printed object or a list of references.
EXAMPLE
tell application "Finder" to print file "Addresses" of startup disk
NOTES
The statement print items in referenceToContainer (where referenceToContainer is a reference to any container) won't compile. Instead,
use the statement print every item of referenceToContainer.