Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
When your recording an action, if you have similar sized-objects you can obviously apply the same action across the board. But sometimes, you may be faced with different sized items. For instance a vertical shot In a horizontal shot. But you need to resize them both appropriately. In cases like this, you can batch automate using something called a conditional action. A conditional action will allow you to set up some logic that will choose what action to use, should conditions be met. In this case, when I have my vertical shape.
I want to go through and have this be 600 pixels high. When I have my horizontal shape, I want to go through and have this run at 600 pixels wide. So the first step is to record the two actions that I want to utilize. So I have a folder here set up, called conditional actions. And I'm going to record my first action, which is my horizontal size. Simply record my Image Size, to 72 pixels per inch, 600 pixels wide. Bi-cubic sharper and hit OK. And that's my horizontal set up.
Next, I'm going to go to my vertical setup. And I'm going to record a second action called Vertical. Then I'm going to go to Image Size. And I'm going to tell it, at 72 pixels per inch, I want this to be 600 pixels high for my vertical. Using bi-cubic sharper and I'm going to hit OK. And there's my second action. I'll stop that. Now I have my two actions. Finally to create my condition, I need to just create a third action. And this is going to be my Resizing Conditions.
And go to your drop down menu in the actions panel, and tell it to Insert Conditional. There are a lot of different triggers for conditional actions. For instance, if the document is landscape, square. What color mold is it in, and so on, and so forth. And feel free to browse, and choose what action condition works best for you. In our case, I'm going to use Document Is Landscape, or horizontal. If the document is horizontal, I want it to play the horizontal resizing. If it's anything else, and in this case that would mean vertical or square. I'm going to use the vertical re-sizing action.
Hit OK. And I've set up my condition. To test this, I simply need to go to a number of different options. Go to my object. And click Play. This resized at 600 pixels high, so that worked out well. Go to a horizontal. Click Play. Double check your Image Size. And this is 600 pixels wide. So my condition is working. Now I can go through and batch automate any number of sized images, using this conditional action.
Get unlimited access to all courses for just $25/month.Become a member
164 Video lessons · 54814 Viewers
64 Video lessons · 86557 Viewers
86 Video lessons · 55930 Viewers
148 Video lessons · 93297 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.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.