6 Replies Latest reply on Mar 4, 2015 7:18 AM by JoelGeraci_Datalogics

    Insert page argument problem

    im62245787

      Hello!

       

      I am having a problem with the method insertPages.

       

      this.insertPages ({

                  nPage: pageArray[1],

                  cPath: getField("filename").value

              });

       

      This code is in a for loop and inserts the pages in the first iteration but stops the script right after and exits with:

       

      InvalidArgsError: Invalid arguments.

      Doc.insertPages:3:Console undefined:Exec

       

      Has anyone encountered this error?

      Any help is much appreciated!