Can declare a hotkey in Config.ini that exits the app

This commit is contained in:
Joshua Fuhs 2012-07-03 20:23:35 -04:00
parent b728cd0255
commit 1cab61ba16

View file

@ -260,6 +260,8 @@ Config_redirectHotkey(key) {
Send % SubStr(Config_hotkey_#%A_index%_command, 6)
Else If (type = "Reloa")
Reload
Else If (Config_hotkey_#%A_Index%_command = "ExitApp")
ExitApp
Else {
i := InStr(Config_hotkey_#%A_index%_command, "(")
j := InStr(Config_hotkey_#%A_index%_command, ")", False, i)