10 Replies Latest reply on Jun 1, 2011 1:26 AM by peter_on_the_isar

    saveAs javascript crashes Reader

    peter_on_the_isar

      Environment is Acrobat Reader 9.4.4

       

      The following config.js script worked in Reader 7 but crashes the Reader with the above version.

       

      var saveXMLData = app.trustedFunction(function(doc)
      {
        app.beginPriv();
        var myTrustedRetn=doc.saveAs("/c/windows/temp/savedForm.pdf");
        app.endPriv();
        return myTrustedRetn;
      });