The latest update to Photoshop (only available to Creative Cloud users, don’t blame me talk to Adobe, but I probably agree with you) included something called Conditional Actions. Conditional Actions are a way of adding a clause to an action that will cause another action to run if the clause is applicable or another to run if it isn’t. Clear? No, probably not, so I’ll create a real world example to explain more clearly (hopefully).
One thing I end up doing a lot is preparing images for tutorials, this involves using the Save For Web function in Photoshop, in-putting size and quality settings, selecting a place to save the image and then close without saving. I have two actions to do this for me, one for landscape and square images (the square action works with portrait images too), which means running a Batch command for several images would have been a fiddle and a faff. What Conditional Actions allow me to do is to create a new action that selects which of my two existing actions to run depending on whether the image is landscape or square/portrait.
To do this, open the Actions palette and create a new action (press the new icon at the bottom of the palette or use the palette’s pop out menu)
Name it as you wish but make sure that you save the action the set where the actions you are going to use are located. Don’t worry about pressing record as you do not need to be recording to create a Conditional.
Go back to the pop out menu and click on “Insert Conditional…”
This opens the Conditional Action dialog box
The “If Current” drop-down menu offers the choices for which clause you want to use.
We need to use the “Document is Landscape”. Next click on the “Then Play Action” drop-down. Select the action you wish to use if the image is landscape. Then click on the “Else Play Action” if you want to trigger an action if the image isn’t landscape; I’ve selected my square action.
Now we have the Conditional Action made we can create a Batch command to really get it to work for its money.
Got to File – Automate – Batch
If you left your Conditional Action highlighted it should be automatically selected in the Batch dialog, if not you will have to select the set and action manually. I’ve chosen opened files as my source but you can select a folder or Bridge if you wish. Destination is None as I’ve already set that in the action and I’ve selected stop for errors. Click OK and Photoshop and the Conditional Action will do all the work for you.
- Multiple Layer Styles in Photoshop
- Updates to Adobe Stock
- Did You Forget About Photoshop Express
- How to Create 3D Lego Inspired Bricks in Photoshop and Adobe Project Felix
- 3D Text with Photoshop and Project Felix
- Scatter 3D Text By Letter in Photoshop
- The Beginners’s Guide to the Pen Tool in Photoshop
- Create 3D Glass Text in Photoshop
- Creating a 3D Ground Plane to Match an Image in Photoshop
- 3 Ways to Convert to Black and White in Photoshop