Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Set up Adobe plugin detect

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Set up Adobe plugin detect

    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

    Any ideas would be appreciated


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

    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>' );
    }
    }


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: Set up Adobe plugin detect

    Quote Originally Posted by Edridgee13 View Post
    ...I am new to Java scripting so hopefully one of you can help...
    Hi Edridgee13, and welcome to a java forum

  3. #3
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Set up Adobe plugin detect

    I recommend reading the Forum Rules, especially points 3d and 10. Thread moved to a more appropriate section

  4. #4
    Junior Member
    Join Date
    Sep 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Set up Adobe plugin detect

    thanks JPS

Similar Threads

  1. Plugin Detect
    By Edridgee13 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: September 24th, 2012, 11:10 AM
  2. Replies: 1
    Last Post: November 10th, 2011, 04:53 AM
  3. automatically detect hyperlinks
    By dabdi in forum Java Theory & Questions
    Replies: 12
    Last Post: September 13th, 2011, 08:51 AM
  4. [SOLVED] Detect USB signal
    By mine0926 in forum Java Native Interface
    Replies: 2
    Last Post: February 4th, 2011, 07:46 PM
  5. detect duplicated programs
    By pulsarsitra in forum Java Theory & Questions
    Replies: 0
    Last Post: January 13th, 2011, 11:54 AM