Acrobat Actions: Changing the highlight color for highlighting actions.

New Here ,
Mar 29, 2022 Mar 29, 2022

Copy link to clipboard

Copied

I have downloaded the following actions tools from the Acrobat Actions Exchange:  "Find, Highlight, and Extract Words" and "Find and Highlight Words."  Is there a way to process the file multiple times and change the highlighting color with each process. 

I work in the medico-legal industry, and to elaborate with an example:.  Let's say I'm reviewing a set of medical records, I want to highlight important key medical terms specific to a case.  Then, I would like to come back to find and highlight a doctor's name in a different color so that I can later quickly identify each entry in the record with that doctor's name.  Is there a way to accomplish this?

TOPICS
Comment review and collaborate PDF , Edit and convert PDFs , How to

Views

74

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Mar 29, 2022 Mar 29, 2022

Yes, you can create multiple copies of the Action and adjust this line of code in the first Execute JavaScript command to different values each time to achieve that:

 

var colHilite = color.yellow;

 

For example, you can change it:

var colHilite = color.green;

Or:

var colHilite = color.blue;

Or even to a custom color, like this (orange):

var colHilite = ["RGB", 255/255,215/255,0/255];

Likes

Translate

Translate
Adobe Community Professional ,
Mar 29, 2022 Mar 29, 2022

Copy link to clipboard

Copied

LATEST

Yes, you can create multiple copies of the Action and adjust this line of code in the first Execute JavaScript command to different values each time to achieve that:

 

var colHilite = color.yellow;

 

For example, you can change it:

var colHilite = color.green;

Or:

var colHilite = color.blue;

Or even to a custom color, like this (orange):

var colHilite = ["RGB", 255/255,215/255,0/255];

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines