scripting@wanadoo.nl




GetIEAutoDetect()

http://www.scriptlogic.com/kixtart/FunctionLibrary_FunctionList.aspx


actual FunctionLibrary list on 'Scriptlogic' site printer-friendly mirror of UDF topic on 'scripting@wanadoo.nl' site close
30 May 2003 GetIEAutoDetect()
AuthorBill Stewart (Albuquerque, NM)
Action Returns the "Automatically detect settings" check box in IE.
SyntaxGetIEAutoDetect () 
Parameters
  • none  
  • RemarksReturns the setting based on the appropriate bit in the registry setting
    HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings
    (REG_BINARY). 
    Returns1 if auto detect is enabled; 0 if it is disabled; -1 on error 
    DependenciesNone. 
    Examples
    $rc = GetIEAutoDetect()
    
     
    Source
    FUNCTION GetIEAutoDetect ()
      DIM $value, $rc
     
      $value = ReadValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections", "DefaultConnectionSettings")
      $rc = IIF(@error = 0, (Val(Substr($value, 18, 1)) & 8) <> 0, -1)
      $getieautodetect = $rc
    ENDFUNCTION ; - GetIEAutoDetect -
     
      original source of UDF topic. show actual FunctionLibrary list on Scriptlogic site close top
              printer-friendly mirror of UDF topic on scripting@wanadoo.nl site  




    Copyright © 2003 www.scriptlogic.com & scripting@wanadoo.nl - last updated on 15 October 2003


    Site Meter