Apple Macintosh PhotoFlash User Manual
Page 130

When you look at the part of each script that follows
|Use JPEG|
, you’ll
notice that there’s only one difference. The original script says
|Use
JPEG|:false
, whereas the new one says
|Use JPEG|:true
. The rest of
that line in each script is identical. The original script shows the default slider
setting of 67, even though compression was turned off.
So, to change the original script so it saves images with JPEG compression set
to 67, all you need to do is change the word
false
to
true
.
2
Activate the window of the original Rotate and Save As TIFF script, double-click the word
false in the fourth line of the script to select the word, and type true.
3
Click the Check Syntax button or press Enter.
If you made a mistake in your typing, the Script Editor highlights it for you.
If this happens, correct the mistake and click Check Syntax again.
4
Choose Save from the File menu.
To test your changes, try using the script to rotate and save an image.
You can use the same technique whenever you’re in doubt about how to edit
part of a script. Just record the new behavior you want in a separate script,
compare the old script to the new one to identify the differences, and change
the corresponding place in your original script.
120
Chapter 7