PDF Ebook Adobe Indesign Cs4 Scripting Tutorial
Scripting is the most powerful feature in Adobe® InDesign® CS4. No other feature can save you as much time, trouble, and money as scripting. This document is for every InDesign user. If you never created a script before, we show you how to get started. If you wrote scripts for other applications, we show you how to apply your knowledge to InDesign scripting.
The document also covers how to install and run an InDesign script and describes what InDesign scripting can and cannot do. We discuss the software you need to start writing your own scripts. After you learn the basics of InDesign scripting in this tutorial, you can move on to Adobe InDesign CS4 Scripting Guide, which explores scripting in more depth. Adobe InDesign CS4 Scripting Guide contains hundreds of tutorial scripts covering topics like text formatting, finding and changing text, associating scripts with menu items, drawing objects on a page, and exporting documents.
Contents
Introduction
Getting started
- Installing scripts
Running a script
Using the scripts panel
About scripting languages
- JavaScript
Windows
Mac OS
Which scripting language should you use?
How to use the scripts in this document
Your first InDesign script
- AppleScript
JavaScript
VBScript
Walking through the script
Scripting and the InDesign object model
- Scripting terminology
- Comments
Values
Variables
Operators
Conditional statements
Control structures
Functions and handlers
Understanding the InDesign object model
- Looking at the InDesign object model
Measurements and positioning
Adding features to “Hello World”
- AppleScript
JavaScript
VBScript
Constructing a document
- Setting up measurement units and master spread margins
- AppleScript
JavaScript
VBScript
Adding a baseline grid
- AppleScript
JavaScript
VBScript
Adding master page items
- AppleScript
JavaScript
VBScript
Adding master text frames
- AppleScript
JavaScript
VBScript
Overriding master page items and adding text
- AppleScript
JavaScript
VBScript
Adding and applying a paragraph style
- AppleScript
JavaScript
VBScript
Placing a text file
- AppleScript
JavaScript
VBScript
Placing a graphic
- AppleScript
JavaScript
VBScript
Beyond the basics
Posted in :