Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

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;"