The next thing we're gonna do is we're gonna make what's called a conditional action. And a conditional action is just like it sounds. It's an if this then that. So I'm gonna go ahead and I'm gonna do something pretty clever here, just to separate what's happening from here and here and this is also another good practice, is to make an action in here that's called image size. And what I'm gonna do on this purposely, is I'm just gonna do something like this and then I'm gonna do at the very end and then press record, but guess what? I'm not gonna record anything. What I was doing there was just separating the fact that we have a curves dodge and burn from the rest of what I'm about to do. This is what I call a placeholder. All it's doing, it's not even going to be an action, we don't even want it to play anything, it's just a placeholder to divide it. Because what happens is, if you make an actions pack, whether it's for you or if it's for somebody else, and you get 40 actions in here, ...
you're gonna go, like, cross-eyed looking at where, where are these actions, they're all over the place, which one do I check, which one do I select? Because they're, you won't be able to find the ones that you wanna find. The minute you put page breaks in here like this, it allows you to go from one to the next without trying to dig through all of your actions. So now what I'm gonna do is I'm gonna make a new action. I'm gonna make an action that does an image resize that's gonna resize the image if it's horizontal. So I'm gonna go make a new action and we'll do horizontal resize and we'll just call this 1,200. Actually let's do it smaller, let's do on how big this image is. Press record. Now I'm gonna go to Image and go to Image Size and I'm gonna change the width of this to 800 pixels. Basically what I'm doing is I'm making an action that's gonna resize my image and make it smaller, maybe for the web, make it for something that's a little bit easier, and then press OK. And then I'm gonna press stop, because all I needed that to do if we go back in our history states here, all I needed that to do was just resize my image, just make it smaller for the web, okay? So I'm gonna go back, now I'm gonna make another one. Let's do this. Let's make a duplicate of this with our history state, let's crop this and make it vertical, just a vertical image like this. You'll see why in a second. So now I'm gonna record an action on this one and it's gonna be vertical resize, we'll just call it 800 also. I'm gonna go to Image, Image Size, change the height to 800, OK, stop. So all I've done there is I made two actions, one that's a horizontal resize and one that's a vertical resize. So now what I'm gonna do is I'm gonna make a conditional action and the conditional action is gonna be smart enough to assess the image that I have based on the parameters that I tell it to assess and select the appropriate action based on what I'm telling it to. So I'm gonna go ahead and press Insert Conditional, actually let me do this, I'm gonna make a new action and that new action's gonna be called Master Resize. Here I'm gonna Insert Conditional. If the current document is landscape, then play this, else play this, okay? So if the current document is a landscape, a landscape-based image, select horizontal, or else play vertical, press OK and then stop. And all it's gonna record in there is an if this then that statement. So if I open up this image here and I press, ooh, and I press play on that master resize, it's automatically gonna assess the image and automatically make it smaller. If I press play on this one, automatically resize that image, automatically make it smaller. So it's a conditional action. Now if for some reason though, this is really important to know, what I would do with these is probably put some kind of star there or something, maybe three stars, I don't know what that looks like to you, but watch what happens if I open up a new folder, a new action set and call this Other Actions and I take this master resize outta here and I put it in here and I press play. It's still gonna work (laughing), it shouldn't have. What happens here is if, if for instance, this actions folder is not present on my machine it will not work, because what this is doing is it's saying, and we can read this here actually and see why it's still working, if the current document is landscape then play this action, the action is horizontal resize of set CL actions lesson. So let's just, before I do this I'm gonna go ahead and cover myself. Any time you make actions it's a really good idea to save them, this right here, this whole panel right here in Photoshop is a temporary spot and it's kinda held within the cache. So if the cache within Photoshop dumps you will lose everything you built here, okay? That's, like, start writing this down. So what we wanna do is we have CL actions lesson, we're gonna click on the hamburger icon and we're gonna save Save Actions. Just save them. Photoshop will automatically put them where Photoshop's presets are for actions and press Save. That's all you need to do to ensure that you always have these actions and they don't go away when the cache gets purged. So now if I were to delete these actions, delete 'em, and then click on this action, watch what happens. Boom, that's what I was looking for. The command If is not currently available, why is the command If not currently available? Well that's because this action has to have those other actions to interact with it. If those actions aren't there it won't work. So we don't wanna break them apart, we wanna keep them together, we always want to keep them together because they interact with one another. So we'll go ahead and press stop. And I'm gonna go ahead and just, right here, if you ever wanna load your actions, right here we can go to Load Actions and there's our actions. This is also, if you ever wanna deliver these actions to somebody else, maybe you have a friend you wanna give them to or you wanna start selling 'em, this is the action that you're gonna want to disperse to the masses. So you could copy that to your desktop or wherever you wanna put that, that's your action. So I'm just gonna go ahead and load this and now we have that CL actions there. I'm gonna go ahead and drag this master resize back into this one and I can go ahead and delete that folder set. So now they're all back together, they're all comfy, they're all back together, they're all happy.
Adobe® Photoshop® CC® is a valuable tool for photographers, but it can also be intimidating. In this all-inclusive 20 lesson course, you’ll go from opening the program for the first time to creating images that really stand out. Join Blake Rudis, Photoshop® expert and founder of f64 Academy, as he shows you how to maximize your use of Photoshop®. Topics covered will include:
• Class Introduction & Bridge, Adobe Camera Raw, Setup Interface, Cropping and Layers
• Layer Tools, Masks, Selections, Clean-Up Tools and Shapes & Text
• Smart Objects , Transforming, Actions, Filters and Editing Video
• Custom Creative Effects, Natural Retouching, Portrait Workflow, Landscape Workflow, and Composite Workflow
Don’t let the many aspects of Photoshop prevent you from maximizing your use of this amazing app. Blake will help you develop the confidence to use your imagination and create the images that you will be proud to share with your clients.
Software Used: Adobe Photosho® CC 2018