求一大神写一个VBS的连续按键脚本 五个键 间隔1秒
展开全部
set sh = createobject("wscript.shell")
sh.SendKeys "a" '这个a就是模仿按了a键,之后依次类推。sleep 1000是休息1秒的意思。功能键如回车要这样写{enter},tab与空格键都类推
wscript.sleep 1000
sh.SendKeys "b"
wscript.sleep 1000
sh.SendKeys "c"
wscript.sleep 1000
sh.SendKeys "d"
wscript.sleep 1000
sh.SendKeys "e"
set sh = nothing
sh.SendKeys "a" '这个a就是模仿按了a键,之后依次类推。sleep 1000是休息1秒的意思。功能键如回车要这样写{enter},tab与空格键都类推
wscript.sleep 1000
sh.SendKeys "b"
wscript.sleep 1000
sh.SendKeys "c"
wscript.sleep 1000
sh.SendKeys "d"
wscript.sleep 1000
sh.SendKeys "e"
set sh = nothing
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询