Viewing Sample Scripts; Viewing The Object Model; Viewing The Javascript Object Model; Viewing The Applescript Object Model - Adobe 65010248 - Illustrator CS4 - PC Manual

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

Advertisement

C
1: Introduction
HAPTER

Viewing sample scripts

Adobe provides sample scripts for many objects, properties, and methods in the Illustrator CS4 DOM. You
can view script samples in two locations:
In the
In the Adobe Illustrator CS4 scripting reference for your scripting language, located in the
/Scripting/Documentation

Viewing the object model

Each of the supported scripting languages provides a facility for viewing the scripting objects defined by
Illustrator, with reference details.

Viewing the JavaScript object model

To view the JavaScript object model for Illustrator, follow these steps:
1. Start the ESTK.
In a default Adobe installation, the ESTK is in the following location:
Windows:
system drive\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit CS4
Mac OS:
system drive:Applications:Utilities:Adobe Utilities:ExtendScript Toolkit CS4
2. In the ESTK, choose Help > Object Model Viewer.
3. In the Object Model Viewer window, select Adobe Illustrator CS4 Type Library from the Browser
drop-down list.
Several extended sample scripts are available in the
CS4 installation directory.
You also can view script samples and information about individual classes, objects, properties, methods,
and parameters in Adobe Illustrator CS4 Scripting Reference: JavaScript, located in the
/Scripting/Documentation

Viewing the AppleScript object model

Apple provides a Script Editor with all Mac OS systems. You can use Script Editor to view the AppleScript
dictionary that describes Illustrator objects and commands.
For details of how to use Script Editor, see Script Editor Help.
1. Start Script Editor.
N
OTE
Editor
CD.
/Scripting/Sample Scripts
folder in your Illustrator CS4 installation directory.
: In a default Mac OS installation, Script Editor is in
. If you cannot find the Script Editor application, you must reinstall it from your Mac OS system
folder in your Illustrator CS4 installation directory
folder in your Illustrator CS4 installation directory
/Scripting/Sample Scripts
folder in your Illustrator
Applications:AppleScript:Script
Viewing sample scripts 8

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs4

Table of Contents