0 Replies Latest reply on May 13, 2009 1:07 PM by Jim MacD

    TypeError: Invalid argument type (What's Wrong?)

    Jim MacD

      The code below was working until today. I'm using adobe pro 6. Directly below is the error message I receive. Last line is the actual code.

       

       

       

      Acrobat JavaScript Debugger Functions Version 6.0

      Acrobat EScript Built-in Functions Version 6.0

      Acrobat Annotations / Collaboration Built-in Functions Version 6.0

      Acrobat Multimedia Version 6.0

      Exception in line 15 of function top_level, script Field:Mouse Down

       

      TypeError: Invalid argument type.

      app.openDoc:15:Field Reset:Mouse Down

      ===> Parameter cPath.

       

      ----------------------------------------------------------------

      Line 15 à         var otherDoc = app.openDoc("../../Setup/Forms Setup.pdf", this);