I want to use comma in Hotkey function, but it is impossible as comma is used to script.
I tried {,} and {vkBEsc034} instead of , in my context
SendMode, Input
#InstallKeybdHook
hot>:
send, ^{F6}
return
hot<:
send, ^+{F6}
return
!CapsLock::
+CapsLock
~CapsLock::
{
Hotkey, . , hot>, on
Hotkey, , , hot<, on
}
KeyWait, CapsLock
{
Hotkey, . , hot>, off
Hotkey, , , hot<, off
}
SetCapsLockState, off
return