Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Cinemac
Roil-Alphamania
FrameReady()
JTMR Digital Painter
Tennis
Count Down Timer
Opening and closing a CD-door behaviour
Bouncing Bevel Light-Alphamania
Hide mouse on idle
Retrun Properties on a Sprite
MediaMacros Xtras Mall
 

 

 

Behavior Get browser versions

Added on 10/2/2000

 

Compatibilities:
D7 D8 PC Script

Required Xtras:
Buddy API

Rating:

Author: MediaMacros (website)

Returns the version of browsers on the system

on getAllBrowsers
  IE = baReadRegString( "SoftwareMicrosoftWindowsCurrentVersionApp Pathsiexplore.exe", "", "", "hkey_local_machine" )
  
  NS = baReadRegString( "SoftwareMicrosoftWindowsCurrentVersionApp Paths
etscape.exe", "", "", "hkey_local_machine" )
  browserList = [:]
  the itemDelimiter = "."
  if IE <> "" then
    versionIE = float((baFileVersion(IE).item[1] & "." & baFileVersion(IE).item[2]))
    if versionIE < 4.72 and versionIE > 3.0 then versionIE = 3.0
    addProp browserList, #IE, versionIE
  end if
  if NS <> "" then
    addProp browserList, #NS, float((baFileVersion(NS).item[1] & "." & baFileVersion(NS).item[2]))
  end if
  return browserList
end

on getBehaviorDescription me
  describe = "This returns a property list of the installed version of internet explorer or netscape navigator.  Call like this..." & return & "browserList = getAllBrowsers()"
  return describe
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail