Guidelines for recording actions
Keep in mind the following guidelines when recording actions:
You can record most—but not all—commands in an action.
You can record operations that you perform with the Marquee, Move, Polygon, Lasso, Magic Wand, Crop, Slice, Magic Eraser, Gradient, Paint Bucket, Type, Shape, Notes, Eyedropper, and Color Sampler tools—as well as those that you perform in the History, Swatches, Color, Paths, Channels, Layers, Styles, and Actions panels.
Results depend on file and program setting variables, such as the active layer and the foreground color. For example, a 3‑pixel Gaussian blur won’t create the same effect on a 72‑ppi file as on a 144‑ppi file. Nor will Color Balance work on a grayscale file.
When you record actions that include specifying settings in dialog boxes and panels, the action will reflect the settings in effect at the time of the recording. If you change a setting in a dialog box or panel while recording an action, the changed value is recorded.
Note: Most dialog boxes retain the settings specified at the previous use. Check carefully that those are the values you want to record.Modal operations and tools—as well as tools that record position—use the units currently specified for the ruler. A modal operation or tool is one that requires you to press Enter or Return to apply its effect, such as transforming or cropping. Tools that record position include the Marquee, Slice, Gradient, Magic Wand, Lasso, Shape, Path, Eyedropper, and Notes tools.
If you record an action that will be
played on files of different sizes, set the ruler units to percentages.
As a result, the action will always play back in the same relative
position in the image.You can record the Play command listed on the Actions panel menu to cause one action to play another.
Record an action
To
guard against mistakes, work in a copy: at the beginning of the
action before applying other commands, record the File >
Save A Copy command (Illustrator) or record the File >
Save As command and select As A Copy (Photoshop). Alternatively, in
Photoshop you can click the New Snapshot button on the History panel
to make a snapshot of the image before recording the action.
To resume recording in the same action,
choose Start Recording from the Actions panel menu. Record a path
The Insert Path command lets you include a complex path (a path created with a pen tool or pasted from Adobe Illustrator) as part of an action. When the action is played back, the work path is set to the recorded path. You can insert a path when recording an action or after it has been recorded.
- Do one of the following:
Start recording an action.
Select an action’s name to record a path at the end of the action.
Select a command to record a path after the command.
- Select an existing path from the Paths panel.
- Choose Insert Path from the Actions panel menu.
Insert a stop
You can include stops in an action that let you perform a task that cannot be recorded (for example, using a painting tool). After you complete the task, click the Play button in the Actions panel to complete the action.
You can also display a short message when the action reaches the stop as a reminder of what needs to be done before continuing with the action. You can include a Continue button in the message box in case no other task needs to be done.
- Choose where to insert the stop by doing one of
the following:
Select an action’s name to insert a stop at the end of the action.
Select a command to insert a stop after the command.
- Choose Insert Stop from the Actions panel menu.
- Type the message you want to appear.
- If you want the option to continue the action without stopping, select Allow Continue.
- Click OK.
You can insert a stop when recording
an action or after it has been recorded.Change settings when playing an action
By default, actions are completed using the values specified when they were originally recorded. If you want to change the settings for a command within an action, you can insert a modal control. A modal control pauses an action so that you can specify values in a dialog box or use a modal tool. (A modal tool requires pressing Enter or Return to apply its effect—once you press Enter or Return, the action resumes its tasks.)
A modal control is indicated
by a dialog box icon
to
the left of a command, action, or set in the Actions panel. A red
dialog box icon
indicates
an action or set in which some, but not all, commands are modal.
You can’t set a modal control in Button mode.
Do one of the following:To enable a modal control for a command within an action, click the box to the left of the command name. Click again to disable the modal control.
To enable or disable modal controls for all commands in an action, click the box to the left of the action name.
To enable or disable modal controls for all actions in a set, click the box to the left of the set name.
Exclude commands from an action
You can exclude commands that you don’t want to play as part of a recorded action. You can’t exclude commands in Button mode.
- If necessary, expand the listing of commands in the action by clicking the triangle to the left of the action name in the Actions panel.
- Do
one of the following:
To exclude a single command, click to clear the check mark to the left of the command name. Click again to include the command.
To exclude or include all commands or actions in an action or set, click the check mark to the left of the action or set name.
To exclude or include all commands except the selected command, Alt-click (Windows) or Option-click (Mac OS) its check mark.
To indicate that some of the commands within the action are excluded, in Photoshop the check mark of the parent action turns red; in Illustrator the check mark of the parent action becomes dimmed.
Insert a non-recordable menu command
You cannot record the painting and toning tools, tool options, View commands, and Window commands. However, you can insert many non-recordable commands into an action using the Insert Menu Item command.
You can insert a command when recording an action, or after it has been recorded. An inserted command doesn’t execute until the action is played, so the file remains unchanged when the command is inserted. No values for the command are recorded in the action. If the command opens a dialog box, the dialog box appears during playback, and the action pauses until you click OK or Cancel.
- Choose where to insert the menu item:
Select an action’s name to insert the item at the end of the action.
Select a command to insert the item at the end of the command.
- Choose Insert Menu Item from the Actions panel menu.
- With the Insert Menu Item dialog box open, choose a command from its menu.
- Click OK.
Edit and rerecord actions
It is easy to edit and customize actions. You can tweak the settings of any specific command within an action, add commands to an existing action, or step through an entire action and change any or all settings.
Overwrite a single command
- In the Actions panel, double-click the command.
- Enter the new values, and click OK.
Add commands to an action
- Do one of the following:
Select the action name to insert a new command at the end of the action.
Select a command in the action to insert a command after it.
- Click the Begin Recording button, or choose Start Recording from the Actions panel menu.
- Record the additional commands.
- When finished, click the Stop Playing/Recording button in the Actions panel or choose Stop Recording from the panel menu.
Rearrange commands within an action
In the Actions panel, drag a command
to its new location within the same or another action. When the
highlighted line appears in the desired position, release the mouse
button.Record an action again
- Select an action, and choose Record Again from the Actions panel menu.
- If a modal tool appears, use the tool to create a different result, and press Enter or Return, or just press Enter or Return to retain the same settings.
- If a dialog box appears, change the settings, and click OK to record them, or click Cancel to retain the same values.
, or
choose New Action from the Actions panel menu.
.