I'm trying to write a simple script to export a file as an IDML and PDF document and place these files into a folder called SL translations.
I'm testing it out with just the IDML version which isn't giving me errors but it isn't saving it to the specified folder.
var doc = app.activeDocument;
var folder = Folder ("A:\Work in progress/Jake/SL Translations/");
doc.exportFile(ExportFormat.INDESIGN_MARKUP, Folder (folder));
Am I missing some code here?
i think you need file instead of folder
var folder = new File ("A:\Work in progress/Jake/SL Translations/xx.idml");