Skip to main content
April 27, 2009
Question

How to get Template(indt) filepath (CS3/JS)

  • April 27, 2009
  • 1 reply
  • 428 views

Hi All,

I opened indesign template file, programatically i want to know where it is?

I have tried with app.activeDocument.filePath, it shows "This document is not saved, so there is no path".

How can i get the filepath from the indt

Regards,

Sudar

This topic has been closed for replies.

1 reply

Inspiring
April 27, 2009

Did you open the .indt by script or by hand?

If by script, then you must know where it is. If by hand, then I don't think there's any way to get back to the template. If you know the name of the template, you could search for it in a script, otherwise, you're out of luck.

I'd reorganize the script to start without a document open and have the script open the template; if it's potentially anywhere, then throw up a file dialog and have the user locate it.

Dave