Copy link to clipboard
Copied
Hey,
I created multiple PDF's using Adobe InDesign. Since it is not possible with InDesign to create an action that allows me to open a file in a new tab, I would like to do this with Acrobat. Furthermore I would also like to add a button with the open search function and a button with a page jump incluse zoom function to certain coordinates.
How can I realize this? The manual change is unfortunately not an option, because the PDF's contain between 100 and 1000 pages and the changes would have to be made on almost every subpage.
Here is a picture of my Master-Page where you can see the buttons.
Thanks in advance and have a nice day
Copy link to clipboard
Copied
Since it is not possible with InDesign to create an action that allows me to open a file in a new tab, I would like to do this with Acrobat
Opening a document in a new tab (vs new window) is a user's preference that cannot be edited by JavaScript or an action.
Copy link to clipboard
Copied
Danke für deine Antwort. Meine Beschreibung des Problems war wohl nicht genau genug. Wenn ich einem button in Acrobat eine Action zuweise kann ich "neues Fenster" auswählen. In InDesign nicht. Leider wird Datei dann auch in Acrobat im selben Fenster geöffnet (Die andere Datei verschwindet sozusagen einfach). Ich weiß, dass man es in den Einstellungen ändern kann, jedoch ist es eine Datei für einen Kunden und soll idiotensicher sein. Der Pfad zu jeder Datei ist einzigartig und wird in InDesign mittels eines UXP-Script zugewiesen.
Ist es möglich die actions der buttons programmatisch zu ändern?
Copy link to clipboard
Copied
Thank you for your reply. My description of the problem was probably not accurate enough. When I assign an action to a button in Acrobat I can select "new window". Not in InDesign. Unfortunately, file then also opens in Acrobat in the same window (The other file just sort of disappears). I know you can change it in the settings, however it is a file for a client and is supposed to be foolproof. The path to each file is unique and assigned in InDesign using a UXP script.
Is it possible to change the actions of the buttons programmatically?
Copy link to clipboard
Copied
How can I realize this? The manual change is unfortunately not an option,
Place these buttons on the first (or any other one) page only, export as PDF, open the PDF with Acrobat Pro, set actions to all buttons, and use "Duplicate Across Pages".
Copy link to clipboard
Copied
Thanks, it's working for the search Option but unfortunately not opening file as the pathes are dynamic. Is there another option?
Copy link to clipboard
Copied
You can do it in batch using this (paid-for) tool I've developed:
https://www.try67.com/tool/convert-all-links-in-a-pdf-to-open-in-new-window
As mentioned, you can't do it in Acrobat automatically, at least not with a script (might be possible with a plugin).