Adobe InDesign CS3 Scripting Tutorial

Adobe InDesign CS3 Scripting TutorialScripting is the most powerful feature in Adobe® InDesign® CS3. 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 CS3 Scripting Guide, which explores scripting in more depth. Adobe InDesign CS3 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.

Almost anything you can do with the user interface; you can do with a script. You can draw frames, enter and format text, place graphics, and print or export the pages of the document. Any action that can change a document or its contents can be scripted. There even are a few things you can do in scripting that you cannot do using the user interface.
Scripts can create menus, add menu items, create and display dialog boxes and panels, and respond to user-interface selections. Scripts can read and write text files, parse XML data, and communicate with other applications.
Scripts can do everything from very small tasks (like setting a tab stop at the location of the text cursor) to providing complete features (InDesign’s XHTML export feature is provided by a script). You can start with simple scripts that do only one thing and move on to scripts that automate your entire publishing workflow.
Most of the things scripting cannot do-like setting up a workspace or defining a set of keyboard shortcuts-are things that have to do with the user interface. In addition, scripts cannot add new types of objects to an InDesign document or add new, fundamental capabilities to the program, like a new text-composition engine. For that type of extensibility, you must use the InDesign Software Development Kit (SDK), which shows you to write compiled plug-ins using C++.
We tend to think of scripting in terms of long, repetitive tasks, like laying out a phone book. It also is good for things like the following:
. Automating the myriad, small, annoying tasks you face every day.
. Customizing InDesign to match your work habits and layouts.
. Achieving creative effects that would be difficult or impossible to attain by other means.

Website: wwwimages.adobe.com | Filesize: 2939kb
No of Page(s): 43
Click here to download Adobe InDesign CS3 Scripting Tutorial.

Related Tutorial

Tags: , , , ,

Comments

Leave a Reply