找回密码
 加入
搜索
查看: 1587|回复: 1

[IE类操作] 为什么会自动关开着的IE呢

[复制链接]
发表于 2010-5-21 12:08:18 | 显示全部楼层 |阅读模式
#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 不懂为什么
发表于 2010-5-21 12:58:11 | 显示全部楼层
if ProcessExists("IEXPLORE.EXE") Then
ProcessClose("IEXPLORE.EXE")


看看帮助文件就明白了
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-18 18:17 , Processed in 0.078787 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表