dim wshell
set wshell=wscript.createobject("wscript.shell")
wshell.run "notepad"
wshell.sendkeys "hello"
wshell.sendkeys "^s"
wshell.sendkeys "%+F4"
我想发送alt+F4键,关掉记事本,可是无法sendkeys alt+F4组合键啊?
我该怎么做?
谢谢!
[ Last edited by HAT on 2008-10-19 at 23:44 ]
set wshell=wscript.createobject("wscript.shell")
wshell.run "notepad"
wshell.sendkeys "hello"
wshell.sendkeys "^s"
wshell.sendkeys "%+F4"
我想发送alt+F4键,关掉记事本,可是无法sendkeys alt+F4组合键啊?
我该怎么做?
谢谢!
[ Last edited by HAT on 2008-10-19 at 23:44 ]
