O'Reilly logo

Adobe® Illustrator® CS2 Official JavaScript Reference by Adobe Systems Incorporated

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Scripting Illustrator

This chapter describes the Illustrator object model, and provides an overview of how to use JavaScript to program Illustrator CS.

The Illustrator object model

A good understanding of the Illustrator object model will improve your scripting abilities. The figure below shows the containment hierarchy of the object model, starting with the Application object. The Layer and GroupItem classes and all text classes can contain additional objects of the same class which can, in turn, contain additional nested objects.

The Illustrator object model

Illustrator Scripting Object Model

Within text, characters, words, paragraphs, and lines are all represented ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required