|
下面是模拟鼠标键盘的那种,感觉不怎么好用 ,也没有其他的办法
run("Control.exe Inetcpl.cpl")
WinWaitActive("Internet 属性","可以更改主页。")
ControlClick("Internet 属性","可以更改主页。","[class:Button;INSTANCE:6]")
WinWaitActive("删除 Cookies","确定")
ControlClick("删除 Cookies","确定","[class:Button;INSTANCE:1]")
WinWaitActive("Internet 属性","可以更改主页。")
ControlClick("Internet 属性","可以更改主页。","[class:Button;INSTANCE:7]")
WinWaitActive("删除文件","是否删除 Internet 临时文件夹中的所有内容?")
send("!d")
sleep(1000)
ControlClick("删除文件","是否删除 Internet 临时文件夹中的所有内容?","[class:Button;INSTANCE:2]")
WinWaitActive("Internet 属性","可以更改主页。")
ControlClick("Internet 属性","可以更改主页。","[class:Button;INSTANCE:10]")
WinWaitActive("Internet 选项","是(&Y)")
ControlClick("Internet 选项","是(&Y)","[class:Button;INSTANCE:1]")
WinWaitActive("Internet 属性","可以更改主页。")
ControlClick("Internet 属性","可以更改主页。","[class:Button;INSTANCE:15]") |
|