Script to check and prompt users to upgrade to latest version of adobe reader

I am looking for a Script to check the current reader version and prompt users to upgrade to latest version of adobe reader XI. I am am also looking for some feedback about adding this type of script to a form. Will it cause any other problems. I am thinking that if everyone upgrades I won't have to worry about saving the forms with reader extended privileges.


Greg Nygren


Voted Best Answer

You can't prompt them to upgrade to the latest version of Reader because you can't know what's the latest version of Reader. What you can do, though, is check if they have a version earlier than 11, for example, and then prompt them to upgrade.

Something like this:

if (app.viewerType=="Reader" && app.viewerVersion<11) {
    if (app.alert("It is recommended that you upgrade your version of Reader to the latest one. Do you wish to do so now?",2,2)==4) {
        app.launchURL("http://get.adobe.com/reader/");
    }
}

.


Visit my custom-made PDF scripts website: http://try67.blogspot.com
Contact me personally: try6767@gmail.com


By Gilad D (try67)   


Please specify a reason: