Module 6 β’ Lesson 2βοΈ Advanced Actions & Conditionals
If you have done a task twice, Photoshop can do it a thousand times. Actions record your exact steps; conditionals let one Action branch on what it finds; batches run it over a folder; droplets turn it into a file you drag images onto. This is where hours become seconds.
π What You'll Learn
By the end of this lesson, you will be able to:
- Record a clean, reusable Action and re-order or re-record steps
- Insert stops, menu items, and modal pauses for input
- Add a Conditional so one Action handles landscape and portrait differently
- Batch an Action across a folder and save out automatically
- Build a droplet β a drag-and-drop executable for your workflow
β±οΈ Estimated Time: 50 minutes
π― Project: A single Action that resizes, sharpens, watermarks, and exports β branching by orientation β then batched across a whole folder.
In This Lesson
π€ The Goal: Do It Once, Run It Forever
The same 200 images to prep for the web. On the right, by hand: open, resize, sharpen, watermark, save, close β repeat until your afternoon is gone. On the left, one Action batched over the folder does all 200 while you get coffee. Drag the handle:
π§ Mental Model: Record, Branch, Batch
An Action is a recorded macro: you hit record, perform your steps once, and Photoshop stores them as a replayable list. A Conditional is an if inside that list β "if the document is landscape, play the Landscape action; otherwise the Portrait one" β so one Action copes with mixed input. A Batch points an Action at a folder and runs it on every file; a droplet saves that batch as an icon you drop files onto.
Two rules make Actions reliable. Record with the right units and relative moves (percentages, not fixed pixels tied to one image size), and remember that Actions capture what you did, not what you meant β so record on a representative file and test on odd ones.
π¬ The Actions Panel
Open Window βΈ Actions. Group related Actions into a set, hit the record button, and every eligible step you take is logged. You can drag steps to re-order, double-click a step to re-record its values, toggle a step off, or add a modal (the dialog icon) so the Action pauses for you to confirm settings on each run.
β οΈ Record relative, not absolute
An Action that crops to "1080Γ1080 from position 340,120" breaks on a differently sized image. Use Image Size by long-edge, percentage crops, and content-relative selections so the Action survives varied input. Test it on your weirdest file before trusting a batch.
π Conditionals & Batch
From the Actions panel menu, Insert Conditionalβ¦ lets a step ask a question β is the document landscape, square, portrait; is it a certain size; is a layer present β and play one Action if true and another if false. Chain a couple and one Action gracefully handles a mixed folder.
To run it, File βΈ Automate βΈ Batch: choose the Action, a source folder (or "Import"), a destination, and file-naming rules. Tick Override Action "Save As" commands so files land where you say. For a reusable icon, File βΈ Automate βΈ Create Droplet writes a small app; drop any images or folders onto it and the batch runs.
β Suppress dialogs for a hands-off run
In Batch, set errors to "Log errors to file" and leave dialog toggles off so nothing stops the run halfway. A true batch should complete 500 files without asking you a single question β that is the whole point.
π οΈ Guided Build: A Delivery Action
Gather a folder of mixed landscape and portrait images to prep for the web.
Step 1: Record the core Β· 10 min
- Window βΈ Actions βΈ new set "Delivery", new action "Web Delivery", Record.
- Image Size to 2000px long edge, Unsharp Mask, Place your watermark PNG, Save As JPG. Stop recording.
Step 2: Add the branch Β· 10 min
- Record two tiny helper actions: "Crop Wide" and "Crop Tall".
- In Web Delivery, panel menu βΈ Insert Conditional: if Document is Landscape play Crop Wide, else Crop Tall.
Step 3: Batch it Β· 8 min
- File βΈ Automate βΈ Batch: Action = Web Delivery, Source = your folder, Destination = an output folder, tick Override Save As, set naming.
- Run. Watch the whole folder process untouched, landscape and portrait each cropped correctly.
Step 4: Make a droplet Β· 6 min
- File βΈ Automate βΈ Create Droplet, point it at Web Delivery, save the droplet to your desktop.
- Drag a folder of new images onto it. Instant delivery set, no Photoshop menus. π
β Project Completion Checklist
- β A recorded, relative (long-edge/percentage) delivery Action
- β A conditional branching landscape vs portrait
- β A batch that runs the folder hands-off with Override Save As
- β Errors logged, no mid-run dialogs
- β A working droplet on the desktop
π§ Now You: Solo Variation
π Your challenge
- Record an Action that outputs three sizes of each image (thumb, web, print) into three subfolders in one run.
- Add a conditional that skips already-watermarked files (test for a layer) so re-running the batch is safe.
- Build a droplet a non-Photoshop colleague could use, with a Stop step that explains what to do if something looks wrong.
Going further: Actions can't loop or read a spreadsheet β when you hit that wall, the next lesson's variables and scripting take over. Note down the tasks Actions couldn't handle.
π³ Recipe Card: Actions & Batch
Record once, run forever
- Window βΈ Actions β new set + action β Record relative steps
- Insert Conditional to branch (landscape / portrait / size)
- Insert stops / modals only where human input is truly needed
- File βΈ Automate βΈ Batch over a folder, Override Save As, log errors
- Create Droplet for a drag-and-drop reusable
Mantra: if you'll do it twice, record it once.
π Learning Journal
Add to your journal after this lesson:
- Key concepts you learned
- Techniques that clicked for you
- Questions or confusion points to revisit
- Ideas you want to try
- Your progress and feelings about learning this
βοΈ This lesson's prompt: List three repetitive tasks in your own workflow. For each, could an Action do it, or do you need a conditional or a script? Sorting them is the start of automating your practice.
π Where This Leads
Actions replay fixed steps; they can't read data or loop with logic. When the job is "make 300 badges from a spreadsheet," you need Lesson 6.3 β Data-Driven Graphics & a Scripting Intro, the Module 6 deliverable, where variables and a little JavaScript take automation the last mile.
My Action works on one image but breaks in the batch. Why?
Almost always an absolute value β a fixed crop, a hard-coded size, a named layer that doesn't exist in every file. Re-record those steps as relative, and add conditionals to skip files that don't match the assumptions.
Actions vs droplets vs scripts β when each?
Action for repeatable steps; droplet to hand that Action to someone or a folder-watch; script when you need loops, math, external data, or decisions Actions can't express. They stack: scripts can even call Actions.