Advanced Scripting - Adobe PHOTOSHOP CS 2.0 - SCRIPTING GUIDE Manual

Table of Contents

Advertisement

Adobe Photoshop CS2 Scripting Guide
your application directory. See
Presets/Scripts
Script Name
Layer Comps to Files.jsx
Layer Comps to PDF.jsx
Layer Comps to WPG.jsx
Export Layers to Files.jsx
Script Events Manager.jsx
Image Processor.jsx

Advanced Scripting

This section demonstrates how to use the information contained in the previous sections of this chapter to
create scripts that do the following:
Configure document preferences.
Apply color to text items. In this section, you will also learn how to do the following:
Create a reference to an existing document.
Create a layer object and make the layer a text layer.
Rasterize text so that wrap and blur processing can be applied to words. In these sections you will also
learn how to do the following:
Select and work with a specific area of a layer by creating a selection object.
Apply wave and motion blur filters to selected text.
Note:
When you finish the lesson in each of the following sections, save the script you have created in the
lesson. Each lesson builds upon the script created in the previous lesson.
Working with Document Preferences
The sample scripts in this section activate a Photoshop CS2 Application object and then save the default
configuration settings into variables so that they can be restored later when the script completes. These
are the default configurations you most probably set up in the Preferences dialog when you initially
installed and configured Photoshop CS2.
Note:
To view or set the Preferences on Mac OS, choose Photoshop >Preferences> Units & Rulers; in
Windows choose Edit >Preferences> Units & Rulers.
Next, the scripts set the following preferences to the following values:
Preference
rulers
Photoshop CS2
Creating and Running a JavaScript
folder.
Description
Saves layer comps as files.
Saves layer comps as a PDF presentation.
Saves layer comps as a Web photo gallery.
Exports each document in the document to a separate file.
Enables and disables notifier objects.
Processes camera raw images in various file formats.
Set to
What it does
inches
Uses inches as the unit of measurement for graphics
Scripting Photoshop CS2
for information on the
72

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop cs2

Table of Contents