Art Styles - Adobe 65010248 - Illustrator CS4 - PC Manual

Scripting guide
Hide thumbs Also See for 65010248 - Illustrator CS4 - PC:
Table of Contents

Advertisement

C
2: The Illustrator Scripting Object Model
HAPTER
mesh item
non native item
path item
placed item
plugin item
raster item
symbol item
text frame
Your scripts can access and manipulate art objects through collections in the
There are two types of art-object collections:
Collection objects that correspond to each individual artwork object type, such as the
object or the
The
page items
Also, you can use the
You can create new art objects using the
collection object. For example, to create a new
AppleScript
JavaScript
VBScript
The following artwork collections do not allow the creation of new objects using the
method:
add
graph items
mesh items
plugin items
legacy text items
For details on creating objects of these types, see the Adobe Illustrator CS4 Scripting Reference for your
language.

Art styles

Your script can apply a graphic style to artwork using the
use the
graphic styles
object.
style
Similarly, the
through the
(see
"Dynamic objects" on page
object.
mesh items
object, which includes art objects of all types.
object to reference a grouped set of art items.
group item
set myPathItem to make new path item in current document
var myPathItem = activeDocument.pathItems.add();
Set myPathItem = appRef.ActiveDocument.PathItems.Add()
object
object
object
object
property of the
object allows you to specify the brush to apply to artwork. You access any brush
brush
collection object, which is a property of the
brushes
24)
command (AppleScript) or
make
object:
path item
graphic style
object to access the
document
The artwork tree 20
and
document
method of an artwork item
add
make
object. To apply a graphic style,
method of the
apply to
object.
document
objects.
layer
graph items
command or
graphic

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs4

Table of Contents