还是用回文的好了
https://www.autohotkey.com/docs/commands/Hotkey.htm
InputBox, myKey, enter key name
Hotkey, ~%myKey%, DoSomething
DoSomething() {
tooltip, do something here
}
大概只要这样简单的几行,其实就可以了,从头到尾只需要一个档案。顺带一提,
那个 DoSomething 也可以用 Label
DoSomething:
tooltip, do something here
return