Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Acrobat Actions: Changing the highlight color for highlighting actions.

New Here ,
Mar 29, 2022 Mar 29, 2022

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
Edit and convert PDFs , How to
1.0K
Translate
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
1 ACCEPTED SOLUTION
Community Expert ,
Mar 29, 2022 Mar 29, 2022
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];

View solution in original post

Translate
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
Community Expert ,
Mar 29, 2022 Mar 29, 2022
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];

Translate
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