希望云安全安装INSTALL.EXE
希望云安全安装INSTALL.EXE源代码:
#include <IE.au3>
Run("install.exe");希望云安全安装INSTALL.EXE
$title = "希望云安全 - 安装程序"
WinWait($title)
$sHtml = ""
$t = TimerInit()
While Not $sHtml
$oIE = _IEAttach($title, "embedded")
_IELoadWait($oIE)
$sHtml = _IEDocReadHTML($oIE)
If TimerDiff($t) / 1000 > 30 Then ExitLoop
Sleep(300)
WEnd
测试产生如下错误:
--> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch
--> IE.au3 V2.4-0 Error from function _IELoadWait, $_IEStatus_InvalidDataType
--> IE.au3 V2.4-0 Error from function _IEDocReadHTML, $_IEStatus_InvalidDataType
--> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch
--> IE.au3 V2.4-0 Error from function _IELoadWait, $_IEStatus_InvalidDataType
--> IE.au3 V2.4-0 Error from function _IEDocReadHTML, $_IEStatus_InvalidDataType
--> IE.au3 V2.4-0 Warning from function _IEAttach, $_IEStatus_NoMatch
--> IE.au3 V2.4-0 Error from function _IELoadWait, $_IEStatus_InvalidDataType
我经过几天测试,还是出现这样报错,请问如何处理?
版本:3.3.6.1 看老手又不像老手的样子。。
自己看_IEAttach的用法。。 你好!!
我已经尝试多种_IEAttach,还是读不出来希望云安全安装INSTALL.EXE里面的HTML;
_IEAttach, $_IEStatus_NoMatch请高手出手!
页:
[1]