I am going to be direct.
As all of you guys know, there are two ways to set a hotkey for an action.
1st. I.e
Code: Select all
F1::
...
return
Code: Select all
ApplyNewHotkey:
GuiControlGet, OutputVar, , SSHotkey ; SS Hotkey is the "Hotkey" GUI control.
keybind := OutputVar
Hotkey, %OutputVar%, HOTKEYACTION ; when pressing the hotkey, do some action
return
HOTKEYACTION:
...
return
Something like:
Code: Select all
var := "v"
%var%::
...
return
Code: Select all
var := "v"
%var%:
...
return