var myPDFExportPreset = app.pdfExportPresets.item("[Press Quality]");//change your pdf preset here app.activeBook.exportFile(ExportFormat.pdfType, new File(app.activeBook.filePath +"/" + app.activeBook.name.toString().substring(0,app.activeBook.name.toString().length-5) +".pdf"), 0, myPDFExportPreset);
Thank you Vandy,
It's even more then I was looking for!
And now the question is; how can I learn all that command? Where can I find them (in readable and understandable way...)? I cannot find them on Adobe manuals until now.
many thanks again!