Viewing The Vbscript Object Model; Executing Scripts - 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
2. Choose File > Open Dictionary. Script Editor displays an Open Dictionary dialog.
3. In the Open Dictionary dialog, find and select Adobe Illustrator CS4, and click Open.
Script Editor displays a list of the Illustrator objects and commands, which include the properties and
elements associated with each object and the parameters for each command.
Several extended sample scripts are in the
installation directory.
You also can view script samples and information about individual classes, objects, properties, methods
and parameters in Adobe Illustrator CS4 Scripting Reference: AppleScript, located in the
:Scripting:Documentation

Viewing the VBScript object model

VBScript provides a type library you can use to view Illustrator object properties and methods. This
procedure explains how to view the type library through any Microsoft Office program. Your VBScript
editor probably provides access to the library. For information see your editor's Help.
1. In any Microsoft Office application, choose Tools > Macro > Visual Basic Editor.
2. In the Visual Basic Editor, choose Tools > References.
3. In the dialog that appears, select the check box for Adobe Illustrator CS4 Type Library, and click OK.
4. Choose View > Object Browser, to display the Object Browser window.
5. Choose "Illustrator" from the list of open libraries in the top-left pull-down menu of the Object
Browser window.
Several extended sample scripts are in the
installation directory.
You also can view script samples and information about individual classes, objects, properties, methods,
and parameters in Adobe Illustrator CS4 Scripting Reference: VBScript, located in the
/Scripting/Documentation

Executing scripts

The Illustrator interface includes a Scripts menu (File > Scripts) that provides quick and easy access to your
scripts.
Scripts can be listed directly as menu items that run when you select them. See
Scripts menu" on page
You can navigate from the menu to any script in your file system and then run the script. See
scripts from the Other Scripts menu item" on page
You also can have JavaScript scripts with a
application. For information, see
:Scripting:Sample Scripts
folder in your Illustrator CS4 installation directory.
/Scripting/Sample Scripts
folder in your Illustrator CS4 installation directory.
10.
.jsx
"Startup scripts (.jsx scripts only)" on page
10.
extension start automatically when you launch the
Executing scripts 9
folder in your Illustrator CS4
folder in your Illustrator CS4
"Installing scripts in the
"Executing
10.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Illustrator cs4

Table of Contents