5 Replies Latest reply on Mar 18, 2008 1:35 PM by (John_DeSoi)

    AppleScript - Leopard 10.5.2 (Intel iMac), Acrobat 8.1.2 broken?

      When I try to run a simple javascript on the Mac using AppleScript I receive the following error:

      Adobe Acrobat Professional got an error: "app.openDoc(\"/temp/Form_A.pdf\");" doesnt understand the do script message.

      My AppleScript:

      tell application "Adobe Acrobat Professional"
      set javascript to "app.openDoc(\"/temp/Form_A.pdf\");"
      try
      do script javascript
      on error e
      beep
      return e
      end try
      end tell

      If I run the same JavaScript in a button in Acrobat it works fine:

      app.openDoc("/temp/Form_A.pdf");

      Has Adobe added some new security features in Acrobat 8.1.2?

      Cheers, Adrian