Skip to main content
nelsonb82105111
Participant
December 7, 2017
Question

script to search pdf for specific text and add hyperlinks to other documents

  • December 7, 2017
  • 1 reply
  • 745 views

I want to create a script or find one someone else has written that searches a 30-40 page pdf for specific text, and links to a specific page of another document. For example, the script would search for this text: "CF, pp NNN" (where CF refers to the other document, and NNN refers to the page number in the other document), then the script would add a hyperlink to that specific page number in that other document.

Obviously, this can be done without a script by adding separate links, but that can be extremely time-consuming when there's hundreds of links to add.

Any thoughts on how to accomplish this? 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
December 7, 2017

I've developed a script (as well as a more robust stand-alone tool) that do just that. You can find them here: Custom-made Adobe Scripts: Acrobat -- Create Custom Links from Text