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!