Hi there,
I've been trying for hours to write a script (js) triggering resizing actions depending on the image size.
Here's where I'm stuck:
if (dimension.height < dimension.width) app.doAction("Horizontal","Resizing.ATN") else app.doAction("Vertical","Resizing.ATN")
Any tips are welcomed!