
A Photoshop action records a sequence of editing steps and replays them with one click. Record it once in the Actions panel (Window > Actions), then run it on any open image, or on a whole folder with File > Automate > Batch. Actions turn minutes of repetitive work, such as watermarking, resizing for the web or setting up a retouching layer stack, into seconds, and custom keyboard shortcuts cut the time it takes to reach the commands you use most.
This page covers recording your first action, editing and refining it, the settings that change how actions record and play, batch processing entire folders, droplets, useful actions for common photography tasks, sharing actions, custom keyboard shortcuts, and where scripting takes over from actions. If you are still building a basic editing routine, start with Photoshop for photographers; actions make that routine faster.
What Actions Are and How They Work
An action is a recorded sequence of steps in Photoshop. When you record an action, Photoshop saves each command you run: adjustments, filters, layer operations, selections, and more. When you play the action back, Photoshop runs those same commands in the same order on whatever image is currently open.
Actions live in the Actions panel (Window > Actions). They are organized into sets (folders of actions) and individual actions within those sets. Each action contains a list of steps that you can expand to see exactly what happens at each stage.
Think of actions as macros or recipes. You work out a process once, record it, and then repeat it on any number of images.
Recording Your First Action
This simple action resizes an image for web use and adds a sharpening pass. It teaches the basic recording workflow.
- Open the Actions panel (Window > Actions).
- Click the folder icon at the bottom to create a new action set. Name it “Photography Workflow.” This keeps your custom actions organized.
- Click the new action icon (the page icon next to the folder icon). Name the action “Resize for Web 2048px.” Assign a function key shortcut if you want quick access.
- Click Record. The recording indicator turns red.
- With an image open, go to Image > Image Size. Set the longest dimension to 2048 pixels, make sure Resample is checked, and choose Bicubic Sharper for downscaling. Click OK.
- Go to Filter > Sharpen > Unsharp Mask. Set Amount to 60, Radius to 0.5, Threshold to 0. Click OK.
- Click the Stop button in the Actions panel to stop recording.
Your action is now saved and ready to use. Open any image, select the action, click the Play button in the Actions panel, and Photoshop resizes and sharpens it. To resize by the longest side whatever the orientation, record File > Automate > Fit Image instead of Image Size: it fits the image inside a box of the size you enter, so portrait and landscape files both end up 2048 pixels on their long edge.
Editing and Modifying Actions
Actions are not fixed once recorded. You can change them at any time.
- Insert a step. Select the step after which you want the new one, click Record, perform the new step, then click Stop.
- Delete a step. Select the step and drag it to the trash icon in the Actions panel.
- Reorder steps. Drag a step up or down within the action. Watch the highlight line as you drag: release it between two steps, not on top of another action, or the step lands in the wrong place. Dragging a step into a different action moves it there; holding Alt (Option on a Mac) while dragging copies it instead.
- Add a modal control. Click the dialog box icon to the left of a step so the action pauses at that step and opens its dialog for you to enter values. This lets one action serve different images with different settings for specific steps.
- Change a step’s settings. Double-click a step that has a dialog, enter new values and click OK. Choose Record Again from the panel menu to re-record the whole action.
- Insert a stop. Choose Insert Stop from the panel menu to make the action pause with a message, for example a reminder to make a selection before it continues. Tick Allow Continue to let the person running it carry on without doing anything.
Settings That Affect Recording and Playback
A few settings change what an action records and how it plays back. Most problems with actions that work on one image and fail on another come from these.
- Ruler units. Moves, crops, canvas size and selections are recorded in the current ruler units. Set Preferences > Units & Rulers > Rulers to Percent before recording, and the action positions things relative to the image size, so it works on files of any size. Pixels make every position absolute.
- Allow Tool Recording. By default, brush and other painting strokes are not recorded. Turn on Allow Tool Recording in the Actions panel menu to record them, but expect strokes to land in the same pixel positions on every image.
- Playback Options. In the panel menu, Playback Options sets the speed: Accelerated (the default), Step by Step, or Pause For a number of seconds after each step. Step by Step is the easiest way to watch an action and find the step that goes wrong.
- Dialogs and warnings. Raw files open in Camera Raw and some files raise color profile warnings. In the Batch dialog, Suppress File Open Options Dialogs and Suppress Color Profile Warnings stop those from halting a long run.
Conditional Actions
Photoshop supports simple conditional logic in actions through Insert Conditional. This lets an action behave differently depending on the open document. For example, you can create an action that resizes portrait-oriented images differently from landscape-oriented ones.
Go to the Actions panel menu and choose Insert Conditional. The conditions test properties such as whether the document is landscape or square, its color mode and bit depth, and whether it has layers, a selection or a layer mask. Based on the result, Photoshop plays one action or another.
This is particularly useful for batch processing a folder that contains both portrait and landscape images. The conditional action can apply the right resize settings to each orientation automatically. The built-in conditions do not test pixel dimensions or file size, so a pause that should happen only when an image is over a certain size needs a script.
Batch Processing with Actions
Batch processing is where actions save the most time. You can apply an action to every image in a folder automatically: Photoshop opens each file, runs the action, saves the result and closes it, then moves on to the next.
Go to File > Automate > Batch. In the Batch dialog, you set the source (the folder of images to process), the action to apply, and the destination (where to save the results).
- Set. Choose the action set containing your action.
- Action. Choose the specific action to run.
- Source. Select “Folder” and browse to the folder containing your images. Tick Include All Subfolders to process nested folders too.
- Override Action “Open” Commands. Check this if your action includes an Open command and you want the batch source to be used instead.
- Destination. Choose “Folder” and select where processed images should be saved. “Save and Close” overwrites the originals, so use it only on copies.
- Override Action “Save As” Commands. If your action ends with a Save As step that sets the format and quality, check this so the files go to the batch destination with the batch file names.
- File Naming. Set the naming pattern for output files, for example the document name plus a serial number.
- Errors. Choose whether to stop on errors or log them to a file and keep going.
Click OK and Photoshop processes every image in the source folder. This is ideal for preparing a client gallery, making web versions of a shoot, or applying the same steps of your photography workflow to a whole set.
For the most common job, saving a folder as JPEGs at a set size, File > Scripts > Image Processor does it without a custom action: choose a folder, tick JPEG, PSD or TIFF, enter a maximum width and height, and it can run an action on each file as part of the same pass.
Creating Droplets
A droplet is a small standalone application made from an action. You drag image files or folders onto the droplet icon, and it launches Photoshop and runs the action on them.
To create a droplet, go to File > Automate > Create Droplet. The dialog is similar to Batch, but instead of a source folder you choose where to save the droplet. Keep it on your desktop and drag files onto it whenever you need to process them.
Useful Actions for Photographers
Watermark Action
Record an action that places your watermark on images. The steps would include placing an image or text layer with your watermark, positioning it (bottom right is conventional), setting its opacity to around 30 to 50 percent, and flattening. For flexibility, add a modal control to the positioning step so you can adjust placement for each image, and record with ruler units in percent so the position scales with the image.
Resize and Sharpen for Web
Create actions for your common export sizes. For example: fit the longest edge to 2048 pixels, convert to sRGB, apply a light sharpening pass, and save as JPEG at quality 85. Color management explains why sRGB is the right choice for web images.
Print Preparation
Record an action that prepares images for printing. Resize to your standard print dimensions at 300 PPI, apply print sharpening (slightly stronger than web sharpening), convert to your print lab’s preferred color profile, and save as TIFF. Preparing photos for print covers the principles behind these settings.
Quick Portrait Frame
Create an action that adds a clean border to portrait images: add canvas space around the image, fill it with white or a neutral color, and optionally add a thin rule line. A modal control on the Canvas Size step lets you change the border width per image.
Organizing Action Sets
As you build more actions, group related ones into sets.
- Export Actions. All your resize and output actions for different uses.
- Retouching Actions. Frequency separation setup, dodge and burn layer creation, skin smoothing steps.
- Creative Actions. Black and white conversions, color grading starting points, film emulation effects.
- Utility Actions. Watermarking, flattening and saving, metadata operations.
Sharing and Installing Actions
Actions can be exported and shared with other Photoshop users. Select the set in the Actions panel and choose Save Actions from the panel menu. This creates an .atn file. Only whole sets can be saved, so put an action you want to share in a set of its own first.
To install actions from others, choose Load Actions from the Actions panel menu and select the .atn file. The set appears in your panel ready to use. Saving your sets to .atn files is also the way to back them up.
How to Make Custom Keyboard Shortcuts in Photoshop
Keyboard shortcuts are the other half of a fast workflow. Photoshop lets you add a shortcut to almost any menu command, panel menu command or tool, and change the ones it ships with.
- Go to Edit > Keyboard Shortcuts (Alt+Shift+Ctrl+K on Windows, Option+Shift+Cmd+K on a Mac).
- Next to Set, click the button to create a new set based on the current one, and give it a name. Working in your own set leaves the defaults untouched.
- In the Shortcuts For menu, choose Application Menus, Panel Menus or Tools.
- Expand the menu that holds the command, click it, and press the key combination you want.
- If that combination is already in use, Photoshop warns you. Click Accept to take it over (the other command loses it), or Undo to choose something else.
- Click OK to save the set. Summarize in the same dialog saves a list of all your shortcuts as a web page you can print or keep beside the keyboard.
Good candidates are commands you use many times a session that have no shortcut by default, such as Flatten Image, Convert to Profile, or a filter you apply to every image.
Shortcuts for actions. An action can have its own shortcut on a function key, F2 to F12, alone or combined with Shift and Ctrl (Cmd on a Mac). Set it when you create the action, or later by double-clicking the action’s name or choosing Action Options from the panel menu. Pressing the key plays the action, so an action that runs a single menu command doubles as a shortcut for that command. Turning on Button Mode in the panel menu shows each action as a single colored button, which is quicker to click once your actions are set up.
Beyond Actions: Scripting
For tasks that go beyond what actions can handle, Photoshop supports scripting in JavaScript on both systems, AppleScript on a Mac, and VBScript on Windows. Scripts can include loops, conditions, dialogs and file operations that actions cannot.
To open, process and save each file in a folder from a script, the script lists the files in the folder, opens each one, runs the processing (which can be an existing action, called by its name and set), saves the result to an output folder and closes the document before moving to the next file. That is the same loop Batch performs, so use a script only when you need something Batch cannot do, such as choosing different settings from each file’s pixel dimensions or metadata, or writing several output sizes from one source image.
JavaScript files use the .jsx extension and run from File > Scripts > Browse. A script saved in Photoshop’s Scripts folder appears in the File > Scripts menu, and from there it can be recorded into an action or assigned a keyboard shortcut like any other command.
Common Mistakes
- Recording absolute values instead of relative ones. If you record an action that moves a layer to a specific pixel position, it only works correctly on images of the same size. Set ruler units to percent before recording positions.
- Not testing on different image sizes. An action recorded on a 6000-pixel image may not work correctly on a 3000-pixel image. Test your actions on images of different sizes and orientations.
- Forgetting to flatten before saving. If your action creates layers (like a watermark layer), flatten the image before the final save step, or save in a format that keeps layers.
- Not using modal controls. Making every step fully automatic sounds efficient, but some steps need a decision. Resize dimensions, sharpening amounts and watermark positions often need per-image adjustment.
- Running Batch with Save and Close on originals. One wrong step in the action is then written over every file in the folder. Batch to a separate destination folder.
- Overcomplicating actions. Simple, focused actions that do one thing well are more useful than long actions that try to do everything. An action can call another action, so chain simple ones together for complex workflows.
Try This: Build Your First Action Set
- Create a new action set called “My Photography Actions.”
- Set ruler units to percent, then record a “Resize for Social” action: fit the longest edge to 1080 pixels with Fit Image, convert to sRGB, sharpen with Unsharp Mask (Amount 60, Radius 0.5, Threshold 0), and save as JPEG at quality 90.
- Record a “Quick B&W Conversion” action: add a Black & White adjustment layer, adjust the color sliders, then add a slight Curves adjustment for contrast.
- Give the B&W action a function key shortcut and test both actions on several different images.
- Use File > Automate > Batch to apply your resize action to an entire folder of images. Set the destination to a new “web-ready” folder.
- Create a droplet from one of your actions and place it on your desktop for drag-and-drop processing.
Frequently Asked Questions
Do actions work across different versions of Photoshop?
Most actions work forward, so actions created in older versions run in newer ones. Going backward (running a newer action in an older version) may fail if the action uses features that did not exist in the older version.
Can actions handle raw files?
Yes. Opening a raw file sends it through Camera Raw, which shows its dialog unless the batch is set to suppress file open options, in which case each file opens with its current Camera Raw settings. For editing large sets of raw files, a raw editor such as Lightroom is usually more efficient, with Photoshop actions saved for the pixel work afterward.
How do I move a step without it disappearing or landing in the wrong action?
Expand the action so its steps show, then drag the step slowly and watch the thin highlight line that marks where it will drop. Release it when the line sits between the two steps you want. If it lands in the wrong place, drag it back; changes in the Actions panel are not part of the History panel, so Undo will not reverse them. Before reworking a long action, save its set with Save Actions so you have a copy to load again if something goes wrong.
How many steps can an action have?
There is no practical limit. Actions can have hundreds of steps. Very long actions are harder to debug and maintain, so if one is getting complex, break it into several smaller actions and have one call the others.
Can I undo an action after running it?
Yes, while the file is still open. Press Undo repeatedly to step back through each step, or click an earlier state in the History panel. Long actions can use up the available history states, so take a snapshot in the History panel before running one. Once you save and close the file, the changes are permanent.
Can I use downloaded actions freely?
Check the license that comes with them. Free and paid actions alike can carry terms about personal or commercial use, and those terms decide what you may do.