Copy link to clipboard
Copied
Hello! Is it possible to use javascript dynamic stamp to search for a word?
I tried adding this code to the Actions of the dynamic stamp template text field
Actions/Mouse Up/Run a JavaScript
search.query("Test", "ActiveDoc");
But when inserting the Stamp into the document, the script does not work!
The short answer it NO.
However, there is a way to search the PDF being stamped. It is complicated. Do you have programming skills?
What exactly are you trying to do?
Copy link to clipboard
Copied
The short answer it NO.
However, there is a way to search the PDF being stamped. It is complicated. Do you have programming skills?
What exactly are you trying to do?
Copy link to clipboard
Copied
in the dynamic stamp my signature, I try to find my last name in the document using the code, increase this place and put the signature. The surname appears many times in the document, i.e. it should be an iteration cycle.
1. I select a signature in a dynamic stamp - the search for the surname in the document is in progress
2. I put my signature next to the surname
3. I choose the signature again ... and so on in a loop
Do you have programming skills? - little experience on vbs, vba and java
Copy link to clipboard
Copied
The Acrobat JavaScript function for finding text on a page is "doc.getPageNthWord()".
Here's the reference entry:
Have you seen the info on creating stamp scripts here:
https://www.pdfscripting.com/public/All_About_PDF_Stamps.cfm
Copy link to clipboard
Copied
Thank you very much, I will study the articles on your links!