What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Reply to thread

You can use a script as part of your action..

Save the code as FileName.jsx in the Photoshops preset/scripts folder.


[code]

var doc = activeDocument;

if(doc.width.value>doc.height.value){//Landscape

    doAction("Action Name", "Action Set");

    }else{//Portrait

        doAction("Action Name", "Action Set");

}

[/code]

Amend the Action Name and Action set to suit.

Now you can create a new action that call this script that will then call the action for the correct orientation.

When recording the action use: Insert Menu Item then File - Scripts and select your script.


What is our favorite program/app? (Hint - it begins and ends with the letter P)
Back
Top