[ autoit ]
Is being thrown by this snippet
[ autoit ]
$oIE = _IECreate($oLink.Address , 0 , 0) $oLinks = _IELinkGetCollection($oIE) $DwnLink = "" For $oLink In $oLinks If StringInStr($oLink.innerText, "Windows 7 for x64-based Systems Service Pack 1") Then $DwnLink = ($oLink.href) ExitLoop EndIf Next If $Dwnlink <> "" Then _IENavigate($oIE , $DwnLink) $iURL = _IEPropertyGet($oIE, "locationURL") $iURL2 = stringregexpreplace($iURL , "http://www.microsoft.com/en-us/download/details" , "http://www.microsoft.com/en-us/download/confirmation") _IENavigate($oIE , $iURL2 , 0) sleep (10000) winkill ("Download Security Update") $oLinks = _IELinkGetCollection($oIE) For $oLink In $oLinks If StringInStr($oLink.innerText, "Start Download") Then $DwnLink = ($oLink.href) ExitLoop EndIf Next $aDwnLink = stringsplit ($DwnLink , "/") InetGet($DwnLink, @ScriptDir & "\KBs\" & $aDwnLink[$aDwnLink[0]] , 1 , 0) _IEQuit ($oIE) Endif
I am in the process of adding error checking to try and handle it, but was hoping someone more skilled could pinpoint my downfall in the meanwhile.