Copy link to clipboard
Copied
Is there a way to have Acrobat Pro X apply a stamp to all pages in a document? For example, if I am sent a set of plans that I want to mark "Not Approved", is there a way to click the Not Approved Stamp on page one and have it apply to all pages in the document?
Thanks!
Hi Again,
Thanks for replying so fast. I now tried the below code as you suggested but it still gave a syntax error. I am copying/pasting all information from the console:
// Assume that the stamp is the only
// annot on the page
this.syncAnnotScan();
var annt = this.getAnnots(this.pageNum)[0];
var props = annt.getProps();
for(var i=0;i < this.numPages;i++){
props.page = i;
if(i != this.pageNum)
this.addAnnot(props);
}
SyntaxError: syntax error
1:Console:Exec
undefined
Copy link to clipboard
Copied
All,
First time poster here. Let me first start out by saying WOW this forum has saved my bacon, so special thanks to all the posts.
I would like to ask if it is possible to do the same thing as listed above, however, to place a number range (i.e. only apply to pages 700-900). Is this possible, and how would I do so?
Also, if i wanted to place a hyperlink over the stamps, is their a similar javascript that I could execute to copy the same hyperlink of the stamps I just applied in pgs 700-900?
Special thanks to anyone who can help!!
Copy link to clipboard
Copied
Just use the watermark feature. You can select a source file and add it to all of the pages. No code.
Copy link to clipboard
Copied
In watermark feature and also in stamp don't have transparency, There is a solution to put some sing form a draw on all pages?
Copy link to clipboard
Copied
Great question and answers. Thank yo all. Super
Copy link to clipboard
Copied
First select stamp from list and stamp on single page then again clink on that stamp(where you stamp on document) then go to add on tools and select BATCH STAMP. Here you can set page range/multiple pages at one.
Copy link to clipboard
Copied
Ha ha, first you have to have the "Batch Stamp" script installed. This does not come with Acrobat. It's an "Add-on"
Copy link to clipboard
Copied
The JavaScript on this forum works for however I have an issue. We need two different persons stamp on the PDF , the code only allows one use stamp if I try another stamp the code doesn't work. Can someone please help me with the code for multiple stamps on multiple/all pages - it would help a lot !!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
In the code, this line:
var annt = this.getAnnots(this.pageNum)[0];
acquires the first annotation on the current page, then that stamp is copied.
Replace that code with this,
var annt = this.selectedAnnots[0];
This code aquires the selected stamp. So
1. Place a stamp on the page.
2. Select it,
3. Run the code whith my modification.
Copy link to clipboard
Copied
@Thom Parker Will this only work on Pro X or will it work on Standard? Also, Where do I enter this script to get the batch "add-on"?
Thanks!
Copy link to clipboard
Copied
The Batch stamp add on is an "Action" that runs the JavaScript discussed in this thread. Actions are only available in Acrobat Professional. Lookup the "Action Wizard"
However, the code itself will work in Acrobat Reader and Standard when run from the console or an automation script.
Copy link to clipboard
Copied
@Thom Parker Sorry, im trying to learn - but where do I open the console or where do i run the automation script in Standard?
thanks!
Copy link to clipboard
Copied
The console window is not directly available in Reader or Standard.
Download and install the Reader Consol tool here:
https://www.pdfscripting.com/public/Free_Acrobat_Automation_Tools.cfm
Then watch this video:
https://www.pdfscripting.com/public/images/video/AcroJSIntro/AcroJSIntro_ConsoleWindow.cfm