to add a pdf export preset to the indesign server the file has to be placed into a directory like
/Library/Application Support/Adobe/Adobe PDF/Settings
on OSX systems and additionally the server has to be restarted. Is there a way to update the preset list without restarting the server? Maybe something similar to
? I know that a preset can also be added by scripting
but what if I would like to import an existing preset file automatically?
try below code
for(var Ep=0; Ep < app.pdfExportPresets.length; Ep++)
var myPdfPreset = app.pdfExportPresets.item(Ep);
if (String(app.pdfExportPresets.item(Ep).name) != '[Default]')
myPreset=File("path");///give full path of the job option
Thank you, this works like a charm
If the InDesign Server is on Windows where is the directory where you can place this preset?