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

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Stefan - PDF-XChange

Post Reply
Grant_Botes
User
Posts: 2
Joined: Fri Nov 24, 2017 8:40 pm

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

Post 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?
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm
Contact:

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

Post 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!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
michael8610
User
Posts: 2
Joined: Mon Dec 11, 2023 9:07 pm

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

Post 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.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10910
Joined: Wed Jan 03, 2018 6:52 pm

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

Post 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,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply