lirenkai2000 发表于 2012-8-1 01:19:45

希望云安全安装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

502762378 发表于 2012-8-2 19:06:30

看老手又不像老手的样子。。
自己看_IEAttach的用法。。

lirenkai2000 发表于 2012-8-7 03:00:50

你好!!

我已经尝试多种_IEAttach,还是读不出来希望云安全安装INSTALL.EXE里面的HTML;
_IEAttach, $_IEStatus_NoMatch请高手出手!
页: [1]
查看完整版本: 希望云安全安装INSTALL.EXE