Reply To: Save Indesign File with Specific Name in Specific Location – JS

#81045
Marcin Ploch
Member

Construction as below solves my problem :-)

var SysFolder = Folder.selectDialog();

var SaveFolder = SysFolder;
var SaveName = SaveFolder + “/” + “000_” + PlikiXML[0].name.slice(19,-24) + “_” + PlikiXML[0].name.slice(4,15) + “.indd”;
doc.save (File(SaveName));

Marcin

This article was last modified on January 24, 2016

Comments (0)

Loading comments...