Here we're going to take a look at a new feature, which is a real time saver and the new feature allows us to write and to play conditional actions. Now at first glance this is going to seem a bit vague or abstract so let's make this a bit more clear and let's look at a real-world scenario where we can use conditional actions in order to speed up our workflow. And here the scenario that I want to look at is how we can add watermarks to our photographs, whether they're in this horizontal or landscape orientation, or in this vertical or portrait orientation.
So just for demo purposes I'll click on one image pull down the Shift key and click on another and then open these up in Photoshop by pressing Cmd+O on the Mac or Ctrl+O on Windows. All right. Now that we have these images open in Photoshop, let's open up the Actions panel. Here in the Actions panel, you'll notice that I have two actions, which I have written. One, which is for adding watermarks on my vertical images, another one on my horizontal. Now if I click and play one of these by selecting it and then by clicking on the Play icon, you can see it adds a watermark, a graphic and some copy.
Well what would happen if I were to delete that and then play it the wrong action, in this case the horizontal action? Well, you can see that it's now cut off. We can't see all of the graphics and the copy. It just doesn't work. This is why we need one action for the horizontals, another for the verticals. Well, wouldn't it be nice if Photoshop could detect what orientation our image was and then play the appropriate action. Well, it now can detect that with something, which is called a Conditional Action.
Well, here again let me delete the graphic and the text and let's then write a Conditional Action and see how we could use it in a scenario like this. To write a Conditional Action it's really simple, just click on the New Action button. We'll go ahead and call this one Watermark and then click Record. The next step is to click on this little icon, which opens up our Fly Out menu. Here we want to choose the option for Insert Conditional. This will open up the Conditional Action dialog.
If you look at this, you'll notice that it will play an If, Then, Else scenario. In other words, if the current image has this particular orientation, the document is landscape or if we selected one of these other criteria, we could then have it play a specific action. In this case if it's landscape, well, I wanted to play the landscape or the horizontal watermark action. If it isn't horizontal, if it's vertical or portrait, well then of course, I wanted to play the other action in this case, which is vertical.
In other words, Photoshop is going to detect orientation and then play the action, which will work best with that orientation. This Conditional Action really helps me out in that case because it will select for me what I need to do. After we've clicked OK to write the action, press Stop. The next step of course is to simply play this. So if I play this now what it will do is it will then determine the orientation and then choose the right action and add the graphics and the copy there.
This will work with horizontal or vertical images. Here we have a horizontal. Again, if I play this, you can see how it will then add that action. Now so far we've seen how we can take advantage of this inside of Photoshop. Well what if we're in Adobe Bridge. Let's go back there. In order to go back to Adobe Bridge, I'm going to press the shortcut, which is Cmd+Opt+O on the Mac or Ctrl+Alt+O on Windows. Another way to take advantage of these actions is to select the images and then go to Tools and here we're going to choose Photoshop and then Batch.
In this Batch command, what we can do is determine which set of actions we want to select from, Watermark, and then out of these the one that I want to play is the one which will detect the orientation of the image. Now that I have selected that, all that I need to do is simply click OK. Now in doing that, Photoshop will then go through all of those photographs and it will add those watermarks to those images. And here we can see how it's done that. It's added those watermarks to these photographs by detecting which orientation the image had and then by playing the appropriate action.
So as you can see Conditional Actions allow us to make selections based on certain criteria, which ultimately can help us save time as we seek to batch process our images using different actions.
Get unlimited access to all courses for just $25/month.Become a member
164 Video lessons · 54436 Viewers
64 Video lessons · 86353 Viewers
86 Video lessons · 55743 Viewers
148 Video lessons · 93104 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Your file was successfully uploaded.