Copy link to clipboard
Copied
hello I have 100 markers that each open a different pdf, I need to add a javascript to each one, the code is a warning window can you create an action in acrobat to automate this task? When the marker is clicked, the alert window should appear first and then the pdf can be opened.
I need help please
Copy link to clipboard
Copied
A bookmark in a PDF file certainly can execute a script. However, when you use a script to set it to do so it overwrites any existing actions associated with it. In other words, you can't add such an action to your bookmarks without deleting what they already do.
Copy link to clipboard
Copied
Hi,
I don't think it is possible to add coding to a bookmark.
If the each bookmark opens a different file (or a different page of the same file?) I would consider making the first page of that pdf the warning explaining to users that if they continue reading this file they are aware and accepting the warning. It might be possible to have the message poping-up as a pdf opens. With a bit of script based of OnFileOpen type of thing.
Copy link to clipboard
Copied
A bookmark in a PDF file certainly can execute a script. However, when you use a script to set it to do so it overwrites any existing actions associated with it. In other words, you can't add such an action to your bookmarks without deleting what they already do.
Copy link to clipboard
Copied
Correct, sorry. I meant to say not possible without loosing the action already setup.

