Photoshop tutorial: Master Photoshop CS6.1's new Conditional Actions

Photoshop tutorial: Master Photoshop CS6.1's new Conditional Actions

Conditional Actions are great for speeding up image processing tasks such as common resizing tasks for the web. Here's how to use them.

by |

  • Intro 1
  • Step 1 2
  • Step 2 3
Next Prev

Step 1 of 3: Intro

Conditional Actions seem odd at first, but are really quite useful. They allow you to use basic programming terms – If, Then, Else – to modify Actions to do different things depending on the makeup of an image. These can work based on image information such as RGB or CMYK, or portrait or landscape – or layer properties such as whether a layer is pixels, vectors or adjustment.

Conditional Actions are great for image processing tasks such as common resizing tasks for the web or pre-press processing, but its ability to respond to layer types makes quite powerful for artworking too.

Here I have two actions that save images for use in a lightbox online. I use the first – 1500 for web – for landscape images to create jpgs that are 1,500 pixels across. The second – 1000 for web – for portrait images.

I want to create a conditional action that automatically runs the right one of these Actions depending on the image itself – which would make applying the action to batches of images easier, using (the File > Automate > Batch command).

Next Prev

Step 2 of 3: Step 1

I create a new action using the button on the bottom of the Actions panel (Alt+F9). This begins recording, but I want to add a conditional action so press Stop. Then I select Insert Conditional… from the panel’s flyout menu.

In the dialog that appears, I select Document is Landscape for If Current:, 1500 for web for Then Play Action and 1000 for web or Else Play Action. This also means that if the artwork is square, it’ll use the 1000 for web action. If I wanted it to apply the 1500 for web action, I’d need to reverse this so it used Document is Portriat, them 1000 for web and 1500 for web.

Next Prev

Step 3 of 3: Step 2

Running this action on this lovely portrait artwork by Fabian Ciraolo, I get this image at 1,000 pixels across.

Next Prev

Market Place

Synology

Synology is dedicated to taking full advantage of the latest technologies to bring businesses and home users reliable and affordable ways to centralise data storage, simplify data backup, share and sync files across different platforms, and access data on-the-go. Synology delivers products with forward-thinking features and the high quality technical support.

row.get(

Lytro Illum release date, price and specs: Light field camera goes 3D

row.get(

Tim Cook says Apple aims to be best, not first, hinting that iWatch is coming

row.get(

Twitter - not news

row.get(

Fun film festival trailer plays with classic movie scenes

We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message