Adobe 23101764 Scripting Guide - Page 7
Why use scripting?, 4 What about actions?
UPC - 718659340025
View all Adobe 23101764 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 7 highlights
Introduction 1 Why use scripting? 1.3 Why use scripting? Graphic design is a field characterized by creativity, but aspects of the actual work of illustration and image manipulation are anything but creative. Scripting provides a tool to help save time spent on repetitive production tasks such as resizing or reformatting documents. Start with short, simple scripts such as those described in this manual and move on to more involved scripts as you become more proficient. Any repetitive task is a good candidate for a script. Once you can identify the steps and conditions involved in performing the task, you're ready to write a script to take care of it. 1.4 What about actions? Photoshop actions are different from scripts. A Photoshop action is a series of tasks you have recorded while using the application-menu choices, tool choices, selection, and other commands. When you "play" an action, Photoshop performs all of the recorded commands. Actions and scripts are two ways of automating repetitive tasks, but they work very differently. • You cannot add conditional logic to an action. Unlike a script, actions cannot make decisions based on the current situation. • A single script can target multiple hosts. Actions can't. For example, you could target both Photoshop and Illustrator in the same script. The Actions palette, invoked under the Window menu, supports actions with a great deal of sophistication (including the ability to display dialogs) and allows users to work with selected objects, as illustrated below. Photoshop CS Scripting Guide 3