Add a Script to InDesign that Runs Upon Opening Exported PDF in Acrobat
Hello,
I create a number of InDesign files that include interactive text fields and checkboxes. After exporting them, I always add the JavaScript
app.runtimeHighlight = false;
to the pdf file in Acrobat to make sure that the blue highlights do not appear on the buttons. I do this very often and it can become a pain to keep adding it back into the pdf after each round of edits and export. Is there a way to add this script into the InDesign file so that it will run upon opening the pdf in Acrobat every time I export it so that I don't have to do it manually each time?
I know how to add a script to InDesign, but I don't know how to get it to run automatically on the opening of the pdf in Acrobat. Only if you click a button.
Thank you.
