Editing a script – Apple Macintosh PhotoFlash User Manual

Page 127

Advertising
background image

Editing a script

This section describes a situation in which you might want to make a
minor change to a recorded script and demonstrates how to edit the script
accordingly.

Suppose you have recorded a script that performs one or more actions on the
image in the frontmost window and then saves it. For example, Chapter 5 of
PhotoFlash Getting Started describes how to record a script that rotates an
image and then saves it as a TIFF file. If you saved that script in the Scripts
folder (inside the PhotoFlash folder), its name appears in the Script palette.

To edit any script whose name appears in the Script palette, follow these
steps:

1

Click the name of the script in the Script palette to select it.

2

Click the Edit button to open the script in the Script Editor application program.

The Script Editor program comes with AppleScript and is installed on your
hard disk when you install PhotoFlash.

Suppose that when you first created this script you saved it as a TIFF file
without any compression. Now, however, you want to change the script so that
PhotoFlash saves each image with JPEG compression.

117

Automating Your Work

Click the script’s

name to select it . . .

. . . then click the Edit button
to open the script in the
Script Editor program.

Advertising