Sub topic 1
Why automate: actions, batches and where they fit
Photoshop automation is useful when you repeat the same sequence of commands on many documents. This chapter assumes you can edit and save images, use the Layers panel, and recognize common formats such as JPEG, PNG, TIFF, and PSD.
An action is a recorded sequence of Photoshop commands. For example, an action might convert a document to sRGB, resize it, sharpen it, and save it as a JPEG. You can play the action on another document instead of repeating each command manually.
A batch is a process that runs an action on multiple files. The action defines the image edits. The batch settings define which files Photoshop opens, where it saves the results, and how it names them. Keeping those responsibilities separate makes a workflow easier to test.
Prerequisites
You should be comfortable opening, editing, and saving images in Photoshop. You should also understand layers, image size, common adjustments, and the difference between a working file and an exported file.
Choosing the right automation tool
Use an action when the main problem is repeated editing inside one document. Use Batch when you need to apply that action to a folder.
| Tool | Best use | Main limitation |
|---|---|---|
| Action | Record and replay repeatable Photoshop commands | It may depend on layer names, selections, or document structure |
| Batch | Run an action on many files | Incorrect source or save settings can overwrite or misplace files |
| Droplet | Start an action by dragging files onto an icon | Less convenient when you need detailed run-time settings |
| Image Processor | Resize and convert files quickly | It provides fewer custom editing steps than an action |
| Script | Control files, conditions, and complex workflows | Requires JavaScript or ExtendScript knowledge |
A typical workflow begins with a small test document. Record the action, play it manually on two or three representative files, and correct any fragile steps. Only then run Batch on the full folder.
How the pieces fit
The following model shows the usual relationship between an action and the tools that run it:
Where actions commonly fail
Actions record many menu commands and panel operations, but they do not understand your intent. A recorded step can fail when the next document has different properties.
Common sources of failure include:
- The action selects a layer by name, but another file uses a different name.
- A fixed selection or canvas coordinate does not fit a different image size.
- A dialog appears during playback and waits for input.
- The action saves over the source file instead of creating a new output.
- A command requires a particular color mode, bit depth, or layer type.
- The action assumes portrait orientation but receives a landscape image.
Design the action around stable document properties. Prefer relative operations, avoid unnecessary selections, and decide whether the source files should remain unchanged. For inconsistent files, a conditional action or script may be safer than a single recorded sequence.
A practical decision rule
Choose the simplest tool that covers the workflow:
- One document and a repeatable sequence: use an action.
- Many similar documents: use Batch with that action.
- Files arrive through drag and drop: create a droplet.
- Simple resizing or format conversion: try Image Processor.
- File-dependent decisions or custom naming: use a script.
Exercise
You need to resize every JPEG in a folder, convert each one to a standard profile, and save copies without changing the originals. Which tool combination is the best starting point, and why?
Show answer
Record an action for the resize and profile conversion, then run it with Batch. Configure Batch to use the folder as the source and a separate folder as the destination so the originals remain unchanged.