Copy link to clipboard
Copied
Hello Experts,
I’m working with a PDF, and I need to find specific static text across the entire document (2000 pages) and place a button field on top of it.
basically, I want to place two buttons to display a popup image as a tooltip (1 for triger and 1 for image popup).
Manually finding the text (using the search option) and placing the buttons is very time-consuming.
Can anyone suggest a faster way to accomplish this?
Thanks!
Copy link to clipboard
Copied
Download and import the Action "Find and Highlight Words" here: https://acrobatusers.com/actions-exchange/
This action will highlight the words or phrases you specify. Write a script to add a button where each highlight is, then remove the highlight. Highlights coordinates are quads. Butttons are rect. You will have to do a conversion. You can add the button actions using the field setAction() method.
Copy link to clipboard
Copied
If you're interested, I've developed a (paid-for) tool that allows you to do just that:
https://www.try67.com/tool/acrobat-create-popup-images
However, 2000 pages might be pushing it for such a script, but there are ways to make it work with such large documents, using a combination of an Action and a script. Feel free to contact me privately to discuss it further.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now