Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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