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

    [JS CS4] Get parent folder of unsaved document?

    Skempy Level 1



      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