5 Replies Latest reply: Mar 30, 2012 1:18 AM by try67 RSS

    Javascript to open a popup - but action must be executed each time pdf is opened

    Ari-IT1

      Background: I wish to add a popup disclaimer to a PDF document. I have found javascript that accomplishes this task. However, I wish to attach this popup

       

      How do I add an action item to a particular PDF, having it execute each time the PDF is loaded? According to a google search this was possible in Adobe 8. I am using Adobe Acrobat Pro, verison X. Here is the code below:

       

       

      var msg = "Type your message here"

      app.alert(msg,3);

       

      I would also like to ensure this feature works with Preview the PDF viewer on Apple computers.

       

      Thanks in advance