项目地址
AutoHotkey
Powerful. Easy to learn.The ultimate automation scripting language for Windows.
强大的。简单易学。适用于 Windows 的终极自动化脚本语言。
按键功能
按压式连发:按下x键开启,松开x键关闭
循环连发:F4开启,F5关闭
按键暂停:F12
源码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
| #Include, Class_DD.ahk #MaxHotkeysPerInterval 1000
~F4:: { SetTimer, Key01, 20 return }
Key01: dd.key(502, 1) dd.key(502, 2) return
~F5:: { SetTimer, Key01, Off return }
~x:: { SetTimer, Key02, 20 return }
Key02: dd.key(502, 1) dd.key(502, 2) return
~x UP:: { SetTimer, Key02, Off return }
$F12::suspend
|