// this is my script I Want to run this script again nd again
doc = activeDocument;
doAction("Action 4","Set 1");
doc = activeDocument;
if (doc.height > doc.width)
{
doAction("Action 1n","Set 1");
doc = activeDocument;
if (doc.height > doc.width)
{
doAction("Action 1nn","Set 1");
}
else {
doAction("Action 5","Set 1");
}}
if (doc.height < doc.width)
{
doAction("Action 1n","Set 1");
doc = activeDocument;
if (doc.height < doc.width)
{
doAction("Action 1nn","Set 1");
}
else {
doAction("Action 5","Set 1");
} }
and also before this i want to open folder in that it should open psd 001 and so on...and when after looping it should folder in that it should open psd 002.... OR explain me easy way to looping. as i dont no scripting language.
Thanks ...