Adobe 26001360 Scripting Guide - Page 269
make, Table 4.137, make - Parameters
UPC - 718659321840
View all Adobe 26001360 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 269 highlights
Adobe Illustrator CS Scripting Guide 269 make Creates a new object and returns a reference to newly created object. Table 4.137 make - Parameters Parameters What it is Objects supported new type class at location reference [with properties record] [with data anything] The class of object to create. The term new is optional Location to insert new object all objects except: • application • mesh item • plugin item Any property of the object you wish to set at creation Any data needed for creation that isn't a property Returns object reference 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 12 Aug 03