按键精灵做连击脚本
1、123键的按法
所谓按法实际上就是各种代码方式
常见的有以下几种(time为延时,自己修改)
KeyPress 49,1(按一次1)
Delay time
KeyPress 50,1(按一次2)
Delay time
KeyPress 51,1(按一次3)
Delay time
KeyDown 49,1(按住1)
Delay time
KeyUp 49,1(弹起1)
Delay time
KeyDown 50,1(按住2)
Delay time
KeyUP 50,1(弹起2)
Delay time
KeyDown 51,1(按住3)
Delay time
KeyUp 51,1(弹起3)
Delay time
KeyDown 49,1(按住1)
Delay time
KeyUp 49,1(弹起1)
Delay time
KeyDown 50,1(按住2)
Delay time
KeyDown 51,1(按住3)
Delay time
KeyUP 50,1(弹起2)
Delay time
KeyUp 51,1(弹起3)
Delay time
2、设置循环
通常有2种方式,第一种是直接在制作时候选择循环方式。第二种用rem标记,然后在代码结束时用goto来返回。区别不大,有时2种同时测试会产生意外的效果