Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Detecting Reader version number

Avatar

Level 2

Hey All,

Wondering if there is away to dectect the version of Adobe reader the user is using.

As a test I ran the following script (which I found in this forum) in my pdf and all it said was that the host was Acrobat. Unfortunately it didn’t give me an exact version number.

viewerName = xfa.host.name;

xfa.host.messageBox("Host is " + viewerName);

The reason I’m asking this is that I have some features in the pdf which will only work in Reader version 9 or higher.  If the user was using a version like 8 or 7 then I was hoping to pop up a message.

Kind regards,
SCF


1 Reply

Avatar

Level 2

Just found out....its "xfa.host.version;"