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

Batch update link highlight style?

New Here ,
Sep 30, 2019 Sep 30, 2019

I have a 162 page PDF that I created in Powerpoint and then exported to PDF. Each page has about 10 links (links created in Powerpoint) to other pages within the document. In the PDF, the links all invert highlight when clicked. Is there a way to update all the links at once so they don't highlight at all? Doing it one by one will take forever. Thanks so much!

325
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 ,
Oct 01, 2019 Oct 01, 2019
LATEST

Run this script from the JS Console:

 

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[i].highlightMode = "None";
	}
}
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