CHAPTER 3
Finder Commands
Command Definitions 125
You can use replacing existing items, with replacing, or
replacing true instead of replacing conflicts without changing
the meaning of this script.
NOTES
If an object specified by the referenceToObject parameter is located on a different
disk from the container specified by the referenceToContainer parameter, the
Move command copies the object instead of moving it, but doesn’t provide any
warning that it has failed to remove the original object. To move any object
from one disk to another, copy the object to the new disk (using either the
Move or the Copy command), then delete the original object using the Delete
command. See page 118 for an example of a script that uses this technique.
Open 3
An Open command is a request to open an object. The Finder version of the
Open command is similar to the version described in the AppleScript Language
Guide, except that the Finder’s Open command can open objects such as
application files, folders, suitcases, and disks as well as files, and in the case
of document files allows you to specify the application that opens them.
SYNTAX
open referenceToObject [ using referenceToApplication ]
PARAMETER
referenceToObject
A reference to the object to be opened or a list of references.
Class: Reference or list of references
referenceToApplication
A reference to the application file with which you want to open
the document files specified by referenceToObject.
Class: Reference or list of references
Default value: None
Comments to this Manuals