Hi
Ive been using batch processing in photoshop since version 7, however Ive recently found the need to do conditional actions - which apparently can be done with photoshop scripting.
What Im trying to do is resize an image if it is over a certain size (document dimensions that is) but leave it at its original size if not.
If I was coding in C or something Id probably do (forgive the poor pseudo code)
if(document.height*document.width>640000){document.resize("50%");}
Can anybody point me in the right direction for creating this type of script in photoshop CS4?
Many thanks
James