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

In Acrobat, Is there a way to globablly change the Properties > Highlight Style? I can do each page manually but it is very tedious for a long PDF.?

New Here ,
Apr 11, 2016 Apr 11, 2016

In Acrobat, Is there a way to globally change the Properties > Highlight Style?  I can do each page manually but it is very tedious for a long PDF.

TOPICS
Acrobat SDK and JavaScript
555
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 ,
Apr 11, 2016 Apr 11, 2016

Highlight style of what, exactly? And by globally do you mean for all files, or for all the instances of whatever you're talking about in one specific file?

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
New Here ,
Apr 11, 2016 Apr 11, 2016

Thanks for responding!

Here is what I am doing:

Creating an interactive Keynote

Then exporting it to PDF

But all the links are "invert" which is really ugly, so

I open the PDF in Acrobat

I open the Tools Panel and click "Select Object"

Then on page 1, I do an Apple-A which selects all the links.

Then right click any one of them

Choose Properties

Change the Highlight Style from "invert" to " none

Go to page 2, repeat, page 3 repeat, etc.

Save the PDF

Open in PDF reader and now the interactiveness is nice and clean.

But doing this page-by-page is very tedious and I have been searching

for a way to change the HighLight Style globally for the entire document.

So far I have had no luck.

You are my last hope - Obi-Wan.

Brian

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 ,
Apr 11, 2016 Apr 11, 2016

OK, that's more clear. And yes, it can be done, using a script. Namely, this script:

for (var p=0; p<this.numPages; p++) {

    var box = this.getPageBox("Crop", p);

    var links = this.getLinks(p, box);

    if (links==null || links.length==0) continue;

    for (var i in links) {

        links.highlightMode = "None";

    }

}

If you have Acrobat Pro you can place it in an Action and run it on your file(s), or you can execute it from the JS Console on the currently open file.

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
New Here ,
Apr 11, 2016 Apr 11, 2016
LATEST

Thank you so much - I will try it out now.

Brian

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