0772allen 发表于 2010-5-21 12:08:18

为什么会自动关开着的IE呢

#NoTrayIcon
#include <IE.au3>
if FileExists("C:\Program Files\PowerStream\PowerPlr.exe") Then
_IECreate ("http://vod.gxbbn.cn/")
Exit
EndIf
If Not FileExists("PowerStream.exe") Then
MsgBox(1, "提示", "当前目录没有找到客户端安装文件PowerStream.exe ", 3)
Exit
EndIf
While 1
if ProcessExists("IEXPLORE.EXE") Then
ProcessClose("IEXPLORE.EXE")
Else
ExitLoop
EndIf
WEnd
run("PowerStream.exe")
WinWaitActive("安装 - PowerStream","现在将安装")
ControlClick("安装 - PowerStream","现在将安装", "TNewButton1")
WinWaitActive("安装 - PowerStream","继续此安装程序")
ControlClick("安装 - PowerStream","继续此安装程序", "TNewButton2")
WinWaitActive("安装 - PowerStream","安装程序已在您的电脑中安装了")
ControlClick("安装 - PowerStream","安装程序已在您的电脑中安装了", "TNewButton2")
_IECreate ("http://vod.gxbbn.cn/")

为什么会自动关开着的IE呢
   刚刚接触AUTOIT 不懂为什么

lynfr8 发表于 2010-5-21 12:58:11

if ProcessExists("IEXPLORE.EXE") Then
ProcessClose("IEXPLORE.EXE")

看看帮助文件就明白了
页: [1]
查看完整版本: 为什么会自动关开着的IE呢