3 Replies Latest reply on Mar 3, 2015 9:04 PM by BSKTCreation

    How to export complete .indd doc to RTF via Script

    LearnIndesignScripting Level 1

      if(app.documents.length > 0)



              app.activeDocument.exportFile(ExportFormat.RTF, new File("c:\abc" +".rtf"), 0); 




                alert ("please use the correct document");



      I am using this code but unable to get the rtf and getting error on app.activedoc line


      please suggest