找回密码
 加入
搜索
查看: 1711|回复: 6

软件安装后弹出浏览器窗口的脚本编写

[复制链接]
发表于 2009-4-20 19:44:09 | 显示全部楼层 |阅读模式
某台电脑有IE、傲游、世界之窗,现在不知道哪个是默认浏览器。怎么编写自动安装脚本阻止或关闭安装软件后弹出的浏览器窗口。if...then...不会用,请教大家了。大家知道哪儿有if..then...的教程或文章请告诉在下(AutoIt自带的帮助感觉介绍得简单了)。

send("!f")
sleep(2000)
$PID = ProcessExists("Maxthon.exe")
If $PID Then ProcessClose($PID)
ProcessClose("iexplore.exe")
ProcessClose("theworld.exe")
忘记世界之窗的进程名是怎样的,这儿用theworld代替了。

[ 本帖最后由 zzfbz 于 2009-4-21 17:06 编辑 ]
发表于 2009-4-20 20:43:15 | 显示全部楼层
if ProcessExists("iexplore.exe") then ProcessClose("iexplore.exe")
if ProcessExists("theworld.exe") then ProcessClose("theworld.exe")
 楼主| 发表于 2009-4-20 21:32:06 | 显示全部楼层
谢谢了,我试试
发表于 2009-4-22 10:39:01 | 显示全部楼层
這個ProcessClose在有的時候似乎不湊效@
发表于 2009-4-22 14:56:30 | 显示全部楼层
_rundos ("START http://www.baidu.com")
发表于 2009-7-21 17:17:22 | 显示全部楼层
都是强人 我是小菜
发表于 2009-7-21 17:52:24 | 显示全部楼层
LLLOOOOOOOOOOOOK
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-5-6 19:13 , Processed in 0.071470 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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