1 Reply Latest reply: Nov 5, 2009 11:31 AM by AdobeScripts RSS

    [JS CS4] Get parent folder of unsaved document?

    Skempy Community Member

      Hi,

       

      Is it possible to get the path to the folder from where an InDesign CS2 or CS3 document was opened in CS4?

       

      myFile = app.documents[0].fullName

       

      only works if the file has been saved, I wish to get the path to the folder before saving the document.

       

      I can get the file name with

       

      myName = app.documents[0].name

       

      Thanks