This content has been marked as final.
Show 2 replies
-
1. Re: PSD folder to file
c.pfaffenbichler Sep 12, 2009 12:59 AM (in response to mazmax)Very recently exporting Groups has been discussed in this forum:
http://forums.adobe.com/thread/488255?tstart=0
As regards the ExportOptionsSaveForWeb You can consult »Photoshop CS4 JavaScript Ref.pdf« or quite probably a forum-search will turn up an exapmple.
-
2. Re: PSD folder to file
mazmax Sep 13, 2009 3:11 PM (in response to c.pfaffenbichler)Try changing to this
var jpgopts = new ExportOptionsSaveForWeb();
jpgopts.format = SaveDocumentType.JPEG;
jpgopts.optimized = true;
jpgopts.includeProfile = true;
jpgopts.quality = 80;
theCopy.layers[1].visible = false;
theCopy.exportDocument((new File(theDestination+"/"+myDocName+aSuffix+aLayerName+theNumberString+".jpg")),ExportType. SAVEFORWEB,jpgopts);
};
theCopy.close(SaveOptions.DONOTSAVECHANGES);
}
But no idea why it's not working?

