Automating your work – Apple Macintosh PhotoFlash User Manual
Page 119

You can automate your work in PhotoFlash and other programs by recording
and running a
script,
which is a series of instructions written in a scripting
language such as AppleScript or UserTalk
™
.
For example, suppose you are a real estate agent and you’ve taken a series of
digitized pictures of some townhouses you’re trying to sell. Because all the
houses are tall and narrow, you had to rotate the camera 90 degrees to fit
them in. And because it was a bright day when you took the pictures, all of
them are a bit bleached out.
You can easily fix a single image with these problems by using commands in
the Image and Enhance menus. The Rotate command allows you to rotate an
image 90 degrees, and the Brightness/Contrast command allows you to
darken an image. If you create a catalog for the images and select all their
thumbnails, you can use the same commands to fix them all at once.
But suppose that in addition to fixing the images, you want to place each one
in a page-layout template you use to describe each house for customers. You
could manually place each image, but that would take a long time. Instead,
you can record a script that rotates an image, adjusts its brightness and
contrast, creates a new page in a page layout document, and places the image
on that page. You can then drag selected thumbnails over the script’s name in
the PhotoFlash script palette to run the script. PhotoFlash opens the image for
each selected thumbnail, rotates and darkens it, creates a new page in the
page layout document, and places the image on the page.
109
7
Automating Your Work