1 Reply Latest reply on Apr 27, 2009 4:24 AM by Dave Saunders

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

    sudar1983_14

      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

        • 1. Re: How to get Template(indt) filepath (CS3/JS)
          Dave Saunders Level 4

          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