0 Replies Latest reply on Feb 19, 2016 2:42 AM by Räven74

    get name of exported file

    Räven74

      We are using a plugin for InDesign CS4 that is connected to a editorial system and the plugin is needed for exporting files with correct name to print (date, page number etc) It is using the standard adobe pdf export dialog so what I want to do is to hook into afterExport and save another pdf and a corresponding indl file with the same name as the exported pdf file.

       

      Is there any way to get the name of the exported file since the name of the exported file isnt the same as the indd filename.

       

      This is how I figured it would be done somehow:

       

      app.addEventListener("afterExport", function(evnt) {
      var exportedFilename  = evnt.??
      });
      

       

      /Daniel