vbs脚本感觉有点麻烦。。。vb就简单多了。。直接timer就好了。。- for i=1 to n 'n表示要循环的次数
- wscript.sleep 2000
- wshshell.sendkeys "1"
- wscript.sleep 2000
- wshshell.sendkeys "2"
- next
- for a=1 to n
- wscript.sleep 2000
- wshshell.sendkeys "1"
- wscript.sleep 2000
- wshshell.sendkeys "2"
- wscript.sleep 60000
- wshshell.sendkeys "3"
- wscript.sleep 60000
- wshshell.sendkeys "4"
- next
复制代码
|