Copy link to clipboard
var saveLocation = File("/Users/user/Desktop/cats/catT1"+i+".jpg");
var config = new JPEGSaveOptions();
config.quality = 10;
I want to run this script over many items and so really need a way to automate / eliminate the clicking...
Any help much appreciated - I've lost hours to this!!
yourPath = File('~/desktop/jpgFile');
(jpg = new JPEGSaveOptions).quality = 12
activeDocument.saveAs(yourPath, jpg, true)
Man you just saved me 20,000 clicks. I love you 🙂
app.displayDialogs = DialogModes.NO;
saveAs() opens the manual 'Save As' window, instead of using given arguments