Adobe 65010248 Scripting Guide - Page 17

The Illustrator Scripting Object Model

Page 17 highlights

2 The Illustrator Scripting Object Model A good understanding of the Illustrator object model will improve your scripting abilities. The following figure shows the containment hierarchy of the object model, starting with the application object. Note that the layer and group item classes can contain nested objects of the same class which can, in turn, contain additional nested objects. In addition to this application-specific object model, JavaScript provides certain utility objects, such as the File and Folder objects, which give you operating-system-independent access to the file system. For details, see JavaScript Tools Guide. 17

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57

17
2
The Illustrator Scripting Object Model
A good understanding of the Illustrator object model will improve your scripting abilities. The following
figure shows the containment hierarchy of the object model, starting with the
application
object. Note
that the
layer
and
group
item
classes can contain nested objects of the same class which can, in turn,
contain additional nested objects.
In addition to this application-specific object model, JavaScript provides certain utility objects, such as the
File
and
Folder
objects, which give you operating-system-independent access to the file system. For
details, see
JavaScript Tools Guide
.