Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 2 - AppleScript Language Reference
Chapter 4 - Commands / Command Definitions


Duplicate application command

A Duplicate command is a request to make a copy of an object or objects and insert the new copy either at a location specified in the command or at the location following the object that was copied.

SYNTAX
duplicate referenceToObject [ to newLocation ] 
PARAMETERS
referenceToObject
A reference to the object or objects to be duplicated.
Class: Reference
newLocation
The new location for the object.
Class: Reference
Default value: If you do not specify a new location, the object is inserted at the location immediately following the object specified in the direct parameter.
RESULT
A reference to the new object.

Class: Reference


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996