了解知识
options_hotkey=^+O
setHotekey(options_hotkey,"OPTIONS")
 
hello_Label=Hello
setHotekey("!d",hello_Label)
Return
 
Hello:
temp:=getHotekey("Hello")
MsgBox Hello模块的快捷键是%temp%
Return
 
OPTIONS:
MsgBox 你按了%options_hotkey%
Return
 
 
setHotekey(_hotkey,_LabelName)
{
 global
 %_LabelName%_1=%_hotkey%
 Hotkey,%_hotkey%,%_LabelName%
 Return
}
 
getHotekey(_LabelName)
{
 
 Return %_LabelName%_1
}
标签: AutoHotkey
扩展知识