Sub topic 2
Tour of the Actions panel
This chapter assumes you can open, edit and save images in Photoshop, and that you know the Layers panel and the common adjustment, filter and Image Size commands. You will not record anything yet. The goal is to know each part of the Actions panel, so the recording and batch chapters make sense.
What the Actions panel is
The Actions panel is where Photoshop stores, plays and records actions. An action is a named, ordered list of recorded commands. Photoshop plays the list back against the active document, one step at a time.
Open the panel with Window > Actions, or press Alt+F9 (Windows) or Option+F9 (macOS). The panel can be docked with other panels or left floating.
The panel holds a hierarchy of three levels:
- Sets are folders that group related actions.
- Actions are the named lists of steps.
- Commands are the individual recorded steps inside an action.
Photoshop ships with a default set called Default Actions. Opening it is a good way to see what a finished action looks like.
Reading the panel
Each row in the panel has a few columns of controls. Knowing them saves time later when an action behaves unexpectedly.
Expand arrows
The small triangle to the left of a set or action expands it. Expanding a set shows its actions. Expanding an action shows its commands. Expanding a command shows the settings that were recorded for it, such as the exact width and height typed into an Image Size dialog.
Shift-click a triangle to expand or collapse every level beneath it at once. This is the fastest way to audit a long action.
The toggle column
The leftmost column holds a check mark for each row. A checked row will play. Clearing the check mark skips that command, action or set during playback. Skipped steps appear without a check, and a red check mark means only some of the steps below that row are enabled.
This lets you keep an optional step, such as sharpening, in an action and switch it on or off without re-recording.
The modal control column
The second column holds a small dialog icon. When it is shown on a command, Photoshop pauses at that step during playback and opens the command's dialog so you can change the values. When the column is empty, the command runs silently with its recorded values.
Modal control is covered in the editing chapter. For now, recognize the icon and what it implies: a dialog will interrupt the playback.
Names and shortcuts
The name column shows the set, action or command name. An action can also have a function-key shortcut, assigned in the Action Options dialog. The shortcut appears next to the action name when the panel is in Button mode, and on the row in List mode.
Panel buttons
Along the bottom of the panel is a row of buttons. From left to right they are:
| Button | Purpose |
|---|---|
| Stop playing/recording | Ends a recording session, or interrupts a running action. |
| Begin recording | Starts recording new commands into the selected action. |
| Play selection | Plays the selected action or command. |
| Create new set | Adds an empty set to hold related actions. |
| Create new action | Opens a dialog to name the action and starts recording. |
| Delete | Removes the selected set, action or command. |
The Begin recording button turns red while recording is active. If you see a red button, everything you do in the document is being captured, so stop recording before you experiment.
The panel menu
The panel menu is the icon with four lines at the top right of the panel. It holds the commands that do not fit on the button row.
- Button Mode switches the panel from the list view to a flat set of colored buttons.
- New Action and New Set duplicate the bottom buttons.
- Duplicate copies the selected action, command or set.
- Delete removes the selection.
- Play runs the selection.
- Start Recording, Record Again and Insert Menu Item, Insert Stop, Insert Path control recording and editing.
- Action Options and Playback Options change an action's name, shortcut and color, and how fast it plays.
- Clear Actions, Reset Actions, Replace Actions, Load Actions and Save Actions manage sets of actions.
- Batch opens the Batch dialog, covered later in this tutorial.
The final section of the menu lists the loaded sets of preset actions that Photoshop includes, such as Commands, Frames, Image Effects, Production, Stars Trails, Text Effects and Textures. Choosing one appends it to the panel.
List mode and Button mode
The panel has two display modes, and the difference matters when you use the panel.
| Mode | What you see | Best for |
|---|---|---|
| List mode | Sets, actions and commands in a tree, with check marks and modal icons. | Recording, editing and debugging. |
| Button mode | One colored button per action. | Running finished actions quickly. |
In Button mode you cannot see commands, change toggles or edit steps. Clicking a button plays the whole action. To edit, switch back to List mode through the panel menu. An action's button color is set in its Action Options dialog, which helps you tell groups of actions apart.
Playback
You can play at several levels:
- Select an action and click Play selection to run every enabled command in it.
- Select a single command and click Play selection to run only that command. This is useful for testing one step.
- Double-click a command to play it alone. Ctrl-double-click (Cmd on macOS) a command name plays only that command from within the action.
- Assign a function key to an action to run it with one keystroke.
Playback Options
Playback Options in the panel menu control timing:
| Option | Behavior |
|---|---|
| Accelerated | Plays as fast as possible. This is the default. |
| Step by Step | Finishes each command and redraws the image before the next one. |
| Pause For | Waits the number of seconds you enter between commands. |
Use Step by Step or Pause For when you need to watch an action fail. With Accelerated, the screen may not refresh until the end, so you cannot tell which step went wrong. There is also a Pause for Audio Annotation option, which holds the action until a recorded audio note finishes.
What playback acts on
Playback runs against the active document. If you play an action with no document open, any command that needs an image fails. An action that opens its own file is the exception.
An action also works on the active layer or selection at the moment it starts, unless it was recorded to select a layer itself. This is the most common reason an action works on one image and fails on another, and later chapters on portable actions return to it.
Reading an action's steps
Expand an action and read it like a log. Each line is the command's name. Expanding a line shows its settings. For example, a recorded Image Size step might show the width, height and resample method.
Playback stops with an error message if a step cannot run, for example when it targets a layer that does not exist in the current document. Commands that ran before the error stay applied, so use Edit > Undo or the History panel to step back.
The History panel is also useful here. Each command an action runs becomes a history state, so you can click an earlier state to undo part of a run. By default History keeps only 50 states, which a long action can exceed. Raise the limit in Preferences > Performance if you need to roll back a long action.
Common mistakes when starting out
- Recording by accident. The red Begin recording button means you are recording. Check it before clicking around.
- Playing in Button mode and expecting to edit. Switch to List mode first.
- Editing a default action. Duplicate it before changing it, so you keep the original.
- Assuming a skipped step is deleted. A cleared check mark only disables the step. It stays in the action.
- Ignoring the active document. Always confirm which document and layer are active before you play.
Practice
Exercise
You expand an action and see a red check mark in the leftmost column on the action's row, and one command below it has no check mark. What does this tell you, and how would you run that command anyway?
Show answer
The red check mark means only some of the commands in the action are enabled. The command without a check mark is skipped during playback. To run it, click the empty box to turn the check mark on, or select that command alone and click Play selection, which plays it even though it is disabled in the action.
Exercise
An action opens a dialog at one step and waits for you instead of finishing on its own. Which column in the Actions panel shows you why, and how do you stop it from pausing?
Show answer
The modal control column, which shows a dialog icon next to the command. Clicking the icon to remove it makes the command run silently with its recorded values.
Exercise
You want to watch an action run one command at a time to find which step fails. Which panel setting do you change, and where is it?
Show answer
Open the panel menu, choose Playback Options, and select Step by Step, or Pause For with a number of seconds. The default, Accelerated, may not redraw the image until the end.