Graphics °æ (¾«»ªÇø)
·¢ÐÅÈË: killest (ì¶Ü), ÐÅÇø: Graphics
±ê Ìâ: PHOTOSHOP(115)-Automating Tasks
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sun May 10 17:48:15 1998), תÐÅ
Chapter 15: Automating Tasks
dobe Photoshop 4.0 lets you automate
tasks by grouping a series of Photoshop
commands into a single command, or
action. For example, you can create an action that
combines a series of filters together to reproduce a
favorite effect, or you can combine commands you
use when preparing images for online publishing.
You can use an action on a single file or on multi-ple
files in the same folder, called a batch. Using
actions lets you easily reproduce frequently used
techniques.
Using the Actions palette
You use the Actions palette to record, play, edit,
and delete actions. It also lets you save, load, and
replace action sets.
To display the Actions palette:
Choose Window > Show Actions.
You can display actions in the Actions palette in
either list view or button view. In the list view,
actions can be expanded to display each command
in the action, and the commands can be expanded
to display their recorded values.
To display actions as buttons:
Choose Button Mode from the Actions palette
menu. Choose Button Mode again to return to the
list view.
To expand and collapse lists and commands:
Click the triangle to the left of the list or command
in the Actions palette.
A
Action
Recorded command
Record Play
Stop New Action
Trash
CHAPTER 15 352
Automating Tasks
Creating and recording actions
When you create an action, Photoshop records the
commands you use, in the order you use them,
including any values you specify. Not all com-mands
and functions can be recorded. For exam-ple,
you cannot record commands from the Paths
palette menu. To include a command that cannot
be recorded, you can use the Insert Menu Item
command. See the following section, “Inserting
non-recordable commands” for more informa-tion.
Note that you can also record the Play Action
and Batch commands on the Actions palette
menu.
When recording an action, keep in mind that play-back
results depend on file and program settings,
such as the image color mode, resolution, and
active layer, as well as the current background and
foreground colors. For example, a 3-pixel Gauss-ian
blur will not create the same effect on a 72-ppi
file as it will on a 144-ppi file. Likewise, Color Bal-ance
will not work on a grayscale file. To avoid this
problem, change the file’s settings as appropriate
to the action before you play the action. If you are
concerned about making radical changes to a file,
record the Save a Copy command at the beginning
of the action to maintain a copy of the original.
Important: When recording the Save As or Save a
Copy commands, do not enter a filename. If you
enter a filename, Photoshop records the filename and
will use that filename each time you run the action.
You can specify a different location, however,
without having to specify a filename.
Because Photoshop executes the com-mands
as you record them, it’s a good idea to
record a complicated action using a copy of a
file, and then playing the action on the origi-nal.
To create and record an action:
1 Open a file.
2 In the Actions palette, click the New Action
button.
Original when recording started
Grayscale conversion recorded
Duotone conversion recorded
353
3 Name the action, assign it to a Function key or
Shift-Function key combination, and choose a
color for its display in the Actions palette.
4 Click Record. The Record button in the Actions
palette turns red.
5 Choose commands as you want them recorded.
If the command you choose opens a dialog box,
clicking OK records the command, clicking Cancel
does not record it. If a chosen command is not
recorded, it must be inserted in the action. See the
next section, “Inserting non-recordable com-mands.”
6 Stop recording by clicking the Stop button.
7 If you want to keep the action for use in future
work sessions, save the action (see page 358).
Inserting non-recordable commands
Many commands that cannot be recorded when
executed can be inserted into an action using the
Insert Menu Item command. Because an inserted
command isn’t executed when added to an action,
no values for that command are recorded in the
action, nor does the file change when the com-mand
is inserted. Only when the action is played,
is the command executed. If the command has a
dialog box, the dialog box appears during playback
and the action pauses until you click OK or Can-cel.
You can insert a command when recording an
action or after it has been recorded.
Because you can assign a Function key or Shift-Function
key combination to an action, you can
use the insert feature to recreate the functionality
of the former Commands palette.
To insert a menu item in an action:
1 Do one of the following: Select an action’s name to insert the menu item
at the end of the action. Select a command to insert the menu item after
the command.
2 Choose Insert Menu Item from the Actions
palette menu.
3 Do one of the following: Choose a command from its menu. Type a partial command name and click Find.
4 Click OK.
Inserting stops
When playing actions, you may want to tempo-rarily
stop the action so that you can perform a
task that cannot be recorded, such as using a selec-tion
tool. Once you’ve made the selection, you can
then continue playing the action with the next
command after the inserted stop by clicking the
Play button in the Actions palette.
You can also display a short message when the
action reaches the stop. This can be useful for
reminding yourself of what task you need to com-plete
next before continuing with the action. You
can include a Continue button in the message box.
In this way, you can check for a certain condition
in the file, and if the condition is not met (for
example, you do not need to make a selection),
you can click Continue and the action proceeds
with the next command. You can insert a stop
when recording an action or after it has been
recorded.
--
oo
il bb yy il ..... Óë¶ûͬÏûÍò¹Å³î
i bbb ll yyy i
iii bb yy iii
oo
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: victor.hit.edu.c]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.951ºÁÃë