var myPDFExportPreset = app.pdfExportPresets.item("[Press Quality]");
Adobe Community Professional, Aug 17, 2020Aug 17, 2020
brianp311 • Adobe Community Professional, Aug 17, 2020Aug 17, 2020
"Press Quality" doesn't have those things set, and the preset settings are wiping out whatever you set in the code.
You could either save a preset with the Press Quality settings plus those settings and call that in line 2, or you can add this after the second line:
app.pdfExportPreferences.properties = myPDFExportPreset.properties;
Then remove the preset from your export method call:
app.activeDocument.exportFile(ExportFormat.pdfType, currentPDFFile, false);
I assume you are defini...