// =======================================================
// Simple branching action script for Photoshop 7.0 Scripting Plug-in
// (c)2003 Hanford Lemoore (http://www.hanfordlemoore.com/)
//
// This script simply evaluates an if/then statement and runs one of two actions
// depending on the If statement's results. 


var docRef = activeDocument;

if (docRef.height > docRef.width)
	{
	// This is the action that gets run if the IF statement is true.
	doAction("ifAction","ActionSet");
	}
else
	{
	// This is the action that gets run if the IF statement is false.
	//doAction("elseAction","ActionSet");
	}
