Page 1 of 1

Highlight text from input list and add text note; also add hyperlinks?

Posted: Sun Jun 09, 2019 10:09 am
by Grant_Botes
Hi. I am working on some large technical documents. I need to be able to:


Import a list of words or search terms and add a highlight along with unique text to each instance of the words imported.
Import a list of words or search terms and add one of the various forms of hyperlink to each instance of the words imported.

So, If I were to do this manually I would search for a word, add the hyperlink or highlight and text note, and move to the next.

But I want to be able to do it as a batch action for one or more files. Is there a way to do this?

Re: Highlight text from input list and add text note; also add hyperlinks?

Posted: Mon Jun 10, 2019 2:39 pm
by Will - Tracker Supp
Hi Grant,

Thanks for the email - This isn't something that can be done with any of our end user products, but should be possible with a JavaScript. You can find the relevant documentation to write the script here:
https://www.adobe.com/content/dam/acom/ ... erence.pdf

HTH!

Re: Highlight text from input list and add text note; also add hyperlinks?

Posted: Wed Jan 15, 2025 3:18 pm
by michael8610
Would it be possible to only highlight text in color in batch processing?
So also a list similar to the “blacken text” only that the text is highlighted in color to emphasize its importance.

Re: Highlight text from input list and add text note; also add hyperlinks?

Posted: Wed Jan 15, 2025 5:05 pm
by Daniel - PDF-XChange
Hello, michael8610

I don't believe there would be any way to do something like this. Batch processing tools are designed for "document" level actions, adding pages, merging, watermarking, etc, not direct content editing tasks. Those are more "personal" and require your direct input on a per-document level. As such while the Editor does offer a "search" function which includes the ability to place a highlight comment on search results, PDF-Tools does not offer anything of the like at this time.

At the most, like Will said back in 2019, this could perhaps be done with sufficient JavaScript knowledge, as placing comments is something JS can do. PDF-Tools does now offer a "run JavaScript" tool/action which could help here.

Kind regards,