Duplicate - Adobe 26001360 - Illustrator CS - PC Manual

Scripting guide
Hide thumbs Also See for 26001360 - Illustrator CS - PC:
Table of Contents

Advertisement

258

duplicate

Duplicates an object(s). Returns reference(s) to newly created object(s).
Table 4.121 duplicate — Parameters
Parameters
object reference
or list (of
object
references)
[to location
reference]
[with properties
record]
Notes
It is permissible to duplicate page items from one document to another. This avoids having to
set the selection, perform a cut or copy, bring another document to the front, and then paste.
However, when duplicating objects from one document to another, it is required that the
location reference is fully specified.
Example 87.1
-- Duplicate the first page item in document 1 to document 2
tell application "Illustrator CS"
set pageItemRef to duplicate page item 1 of document 1 to beginning of document
2
end tell
What it is
The object(s) to
duplicate
The new location for the
object(s)
The new values for the
properties of the
duplicated object(s)
12 Aug 03
Objects supported
all objects except:
• application
• mesh item
• plugin items
AppleScript Reference
Returns
object reference or list
(of object references)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents