Code: Select all
+F1::
The dilemma I have is that the value of the Hotkey GUI controls is in the hotkey definition style. So perhaps there's another way to approach this problem?
Code: Select all
+F1::
Code: Select all
Gui, Font, s10
Gui, Add, Hotkey, w250 vhk
Gui, Add, Button, wp Default, OK
Gui, Show,, Hotkey
Return
ButtonOK:
Gui, Submit
RegExMatch(hk, "([!^+#]*)(.+)", m), keys := m1 "{" m2 "}"
MsgBox, 64, Keys, %keys%
Send, %keys%
Return