Skip to main content
Participant
March 26, 2023
Question

How can i duplicate links, not buttons across all pages?

  • March 26, 2023
  • 2 replies
  • 4175 views

Hi, I am making a planner and need to duplicate links in the exact same place across 365 pages. I tried making the buttons and duplicating them across pages, the interactive buttons worked in the Adobe Acrobat program but once i downloaded them they did not work. I see you have to download it as Adobe (Interactive) but this is not showing as an option for me.

 

Links seem to work fine once I download the file. The links are linked to different page views in the file. The only problem is that I cannot find how to duplicate links, not buttons across multiple pages. Doing this manually would take forever. 

 

Much appreciated if anyone could help with some tips.

 

 

This topic has been closed for replies.

2 replies

Thom Parker
Community Expert
Community Expert
March 27, 2023

When you say the buttons didn't work when downloaded, do you mean they didn't work in the browser PDF viewer? The vast majority of browsers, mobile PDF viewers, and 3rd party PDF viewers are non-compliant, and so don't support many of the interactive PDF features, especially JavaScript.

You are correct in thinking that a link annotation has the greatest compatibiltiy accross the different viewers.  Except, as try67 points out, that link executes JavaScript. And unfortunately, an Acrobat automation script can only add links with JavaScript actions.  What you need is for the link to execute a built-in Action, as specified in the PDF specification.  The only way to automate adding/copying this kind of link is with a plug-in. 

 

 

 

  

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
April 27, 2023

Hey Thom, is there a specific plug-in you can recommend? I'm in the same boat. Making a 365-day planner and adding hyperlinks to each page that execute the same command ("go to page 42"). It would be a breeze if Adobe gave us a "copy to all pages" option like there is with "rich media", but there is no such option under the normal links. I've tinkered with rich media to try to get it to behave like a normal link, but it just won't work. I'm ok with getting a plug-in to make this workload easier. 

Thom Parker
Community Expert
Community Expert
April 27, 2023

I don't know of any such 3rd party plug-in, but it could be developed. 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
bebarth
Community Expert
Community Expert
March 26, 2023

Hi,
You can't duplicate a link, but with a script you can add a new one on all pages at the same position and with the same action.
Please have a look on this post:

https://community.adobe.com/t5/acrobat-discussions/link-duplication/m-p/12940822#M362718

@+

try67
Community Expert
Community Expert
March 26, 2023

A major caveat is that that action must be JS-based.