Can i write Javascript in my PDF's to automatically open using Acrobat Reader?? | Community
Skip to main content
April 4, 2023
Solved

Can i write Javascript in my PDF's to automatically open using Acrobat Reader??

  • April 4, 2023
  • 2 replies
  • 746 views

Good day!!

 

Just a quick question, ive posted a couple weeks ago issues with my clients running Adobe and Foxit and that it was causing some issues.

 

I was thinking, would if be possible to add javascript code to the PDF as it opens and tell the PDF to force/open using "Acrobat Reader DC"??  and if they don't have it, i can break the script or just have it open with their default PDF viewer, but i could then write a little message letting them know that performance might be affected.

 

I don't know if that's doable, but it could help by pass the issue of having multiple PDF software's installed on a machine and forcing them to just use the right one... Adobe...

 

Thx again,

 

Patrick

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Vijay_Katoch

In the doc:ready event we can check the client application and its version in Java script and show any message to the user. But to forcefully open it in Acrobat, I didn't find anything for this.

2 replies

Vijay_Katoch
Community Advisor
Vijay_KatochCommunity AdvisorAccepted solution
Community Advisor
April 6, 2023

In the doc:ready event we can check the client application and its version in Java script and show any message to the user. But to forcefully open it in Acrobat, I didn't find anything for this.

May 8, 2023

Well thats good to know, i can warn them at least that this could be an issue.

Thx for the info. 🙂