Chapter 12. Scripting

Most of the time, we tell a program (an application, a plug-in, or our system software) what to do by manipulating the program’s user interface—we click, drag, and type. Scripting is a way of telling a program to perform the same tasks and accomplish the same things. The difference is that, with scripting, we don’t have to click the buttons, type the characters, or choose the menu items. The script does it for you. Scripting is what computing is supposed to be about: having your computer take over boring, repetitive tasks so that you can spend more time playing World of Warcraft: Wrath of the Lich King. Er, we mean, concentrating on your creative work.

Scripting also gives you the ability to add the features you need to ...

Get Real World Adobe InDesign CS4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.