7 Replies Latest reply on Jan 20, 2016 5:10 AM by ReinhardF

    How to apply the js API in external js?

    eagletianying

      In Acrobat DC's javascript debugger, I can convert pdf file to xml using codes like below.

       

      var myDoc = app.openDoc("/C/Users/EAGLE/Desktop/test.pdf");

      myDoc.saveAs("/C/Users/EAGLE/Desktop/test.xml", "com.adobe.acrobat.xml-1-00")

       

      I want to implement this function in external js script for batch of my PDF files. Please tell me how to do this. THX~~~