3 Replies Latest reply on Sep 11, 2009 3:48 PM by BrendanOShea

    [JS] Export document as inx

    René Mølsted

      Hi all,

      I'm trying to export a document from IDS via JavaScript.

      This script works fine in IDC

      var document = app.documents.item(0);

       

      if(document.saved == true){

          myInxExport();     

      }

       

      function myInxExport(){

          document.exportFile(ExportFormat.indesignInterchange, File(myGetDocumentName()), false);

      }

       

       

      --

      molsted