Apply dynamic custom stamp on PDFs
Hi,
Is it possible to apply a dynamic custom stamp to every pages of a PDF file, print it, and then save it?
I already have the following working in javascript console, and I would like to be able to apply the following code to many PDFs not involving the javascript console so my user don't have to copy/paste the code in the javascript console.
for(var j=0;j < this.numPages; j++){
this.addAnnot({
page: j,
type: "Stamp",
author: "cyeung4",
name: "BERS Time Stamp",
rect: [454, 510, 538, 641],
AP: "#ZJ1LQSvWRiacxXY_xMhkgC" });
}
this.print({
bUI: false,
bSilent: true,
});
app.execMenuItem("Save");
