i guess i use Peter Kahrel's Batch Convert-script for exporting InD to PDF by presets. (Im unable to verify, because im behind a firewall) and i dont have my ipad around.
As I could not save the "Show PDF after Export" to my preset (its grayed out), a vast amount of PDF opens in acrobat while exporting.
How can I prevent this?
Im not really understanding the syntax of JS, but i guess i have to add an parameter to that line:
doc.exportFile(ExportFormat.pdfType, file, false, selectedPdfPreset);
Can anyone help me out?
The line of code you reference is the actual method to export the PDF. You need to modify a property in the PDFexportPreference. It's probably set to "true" just change it to "false".
It should look something like:
app.PDFexportPreference.viewPDF = false
Hey, that helped…alot. Thank you!