本帖最后由 vuivui 于 2012-11-23 09:23 编辑 #include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>
$form = GUICreate("欢迎使用流量查询专用工具",750, 400);
$oIE = ObjCreate("Shell.Explorer.1") ;
GUICtrlCreateObj($oIE, -1, -25, 750, 400) ;
$oIE.Navigate("https://218.19.163.114")
Run(@AutoItExe & ' /AutoIt3ExecuteLine "Dim $s=''安全警报'',$a=WinWait($s), $a=WinActivate($s), $a=ControlClick($s, '''', ''Button1''), $a=WinClose($s), $a=WinWait($s), $a=WinActivate($s), $a=ControlClick($s, '''', ''Button1'')"')
GUISetState(@SW_SHOW)
While 1
If GUIGetMsg() = -3 Then
Exit
EndIf
WEnd
|