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

无法猎杀IE 高手指点

[复制链接]
发表于 2009-12-12 03:43:12 | 显示全部楼层 |阅读模式
安装搜狗拼音过程中,弹出搜狗属性的IE进程,使用一下代码无法猎杀,高手指点呀,猎杀IE有什么更好的办法?
AdlibEnable("KillProcess","300")  ;杀弹出的IE窗口

Func KillProcess() 

If ProcessExists("360se.exe") Then

ProcessClose("360se.exe")

EndIf 

If ProcessExists("iexplore.exe") Then

ProcessClose("iexplore.exe")

EndIf 

If ProcessExists("theworld.exe") Then

ProcessClose("theworld.exe")

EndIf 

EndFunc;--------猎杀进程--------
发表于 2009-12-20 07:34:03 | 显示全部楼层

ProcessWait("iexplore.exe")
ProcessClose("iexplore.exe")
等待IE进程出现再杀.
你用
If ProcessExists("iexplore.exe") Then
ProcessClose("iexplore.exe")
EndIf 判断,IE进程还没出现你就判断完了.看看是不是这个原因.
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-22 15:34 , Processed in 0.093920 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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