只问耕耘
分类: WINDOWS
2010-02-24 14:52:52
在VBScript中使用 SendKeys 和 运行可执行文件
Set WshShell = WScript.CreateObject("WScript.Shell")
i = 25
Do While i > 0
WScript.Sleep 60000
WshShell.SendKeys "{PGUP}", True
'WshShell.SendKeys "abc", True
'WshShell.run "ping localhost"
i = i - 1
Loop