Home / Articles / Adobe Photoshop / Learn How to Script Adobe Photoshop CS2

Learn How to Script Adobe Photoshop CS2

Chapter Description

This chapter demonstrates several techniques for creating scripts to use specifically with Adobe Photoshop CS2. More importantly, you'll learn how to use the Adobe Photoshop CS2 scripting references to find the objects, classes, properties, methods, and even some values (called constants or enumerations) you can use to create JavaScripts for Adobe Photoshop CS2.

Sample workflow automation JavaScripts

The following sample workflow automation JavaScripts are provided with Adobe Photoshop CS2 and demonstrate various kinds of scripting usage. The scripts are located in the Presets/Scripts folder in your application directory. See “Creating and running a JavaScript” on page 20 for information on the Presets/Scripts folder.

Script name


Layer Comps to Files.jsx

Saves layer comps as files.

Layer Comps to PDF.jsx

Saves layer comps as a PDF presentation.

Layer Comps to WPG.jsx

Saves layer comps as a Web photo gallery.

Export Layers to Files.jsx

Exports each document in the document to a separate file.

Script Events Manager.jsx

Enables and disables notifier objects.

Image Processor.jsx

Processes camera raw images in various file formats.

14. Advanced scripting | Next Section Previous Section