...

View Full Version : Java detect plugin Adobe Reader



Edridgee13
09-24-2012, 09:54 PM
Hi Guys

I am new to Java scripting so hopefully one of you can help

I have a script I am working from.

I need to search machines for adobe reader and the version number

A bit of the script i have looks for Shockwave player below however I want it to look for adobe reader and the version instead

I need to know what to input so it looks for adobe acrobat instead of shockwave

It usees the JavadetecPlugin

The script also searchs for browser, flash v, java v succesfully

I have the full script if it is useful

If you need any more information pleas let me know

many thanks

r

function CheckSW()
{
if(PluginDetect.isMinVersion('Shockwave', ShockwaveVer) == 1){
document.write('<span class="correct">Shockwave v' + PluginDetect.getVersion('Shockwave') + '</span>');
}
if(PluginDetect.isMinVersion('Shockwave', ShockwaveVer) !== 1 && PluginDetect.getVersion('Shockwave') == null)
{
document.write('<span class="error">Shockwave not installed</span>' );
}
if(PluginDetect.isMinVersion('Shockwave', ShockwaveVer) !== 1 && PluginDetect.getVersion('Shockwave') !== null)
{
document.write('<span class="warning">Shockwave v' + PluginDetect.getVersion('Shockwave')+ '</span>' );
}
}

rnd me
09-25-2012, 08:06 PM
PluginDetect is for flash.

iterate the navigator.mimeTypes collection(s) to examine installed plugins.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum