Make - Adobe 26001360 - Illustrator CS - PC Manual

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

Advertisement

Adobe Illustrator CS Scripting Guide

make

Creates a new object and returns a reference to newly created object.
Table 4.137 make — Parameters
Parameters
new type class
at location
reference
[with properties
record]
[with data
anything]
Example 97.1
-- Make 2 layers, one at the top and one at the bottom
-- demonstrating the power of location references like beginning and end
tell application "Illustrator CS"
set topLayer to make new layer ¬
at beginning of document 1 with properties {name:"Top Layer"}
set bottomLayer to make new layer ¬
at end of document 1 with properties {name:"Bottom Layer"}
end tell
What it is
The class of object to
create. The term
new
is
optional
Location to insert new
object
Any property of the
object you wish to set at
creation
Any data needed for
creation that isn't a
property
12 Aug 03
Objects supported
all objects except:
• application
• mesh item
• plugin item
Returns
object reference
269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs

Table of Contents