11 Replies Latest reply on Nov 19, 2014 2:58 PM by Andrew_Whatever

    , Trouble importing from text file into PDF Acrobat 9.0


      Hey all!


      I'm trying to use the JavaScript found on this Adobe page to insert text into my PDF:


      http://help.adobe.com/livedocs/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/common/h tml/wwhelp.htm?context=Acrobat9_HTMLHelp&file=JS_API_AcroJS.88.502.html


      this.importTextData("/c/data/myData.txt", 0);


      Replacing the path with my own path, of course.  However, I can't get it to work at all, it just crashes my JavaScript.  I was thinking it might have something to do with the privilege stuff which, admittedly, confuses me a bit.  But my understanding is that if you use the function without arguments, that shouldn't matter, and it will prompt the user for a path?




      However, that still crashes the JavaScript.  I'm not sure what exactly I am doing wrong here?


      NOTE: I have tried running the JavaScript both in a checkbox and on page load.