Code: Select all
Hotkey "^!F1", MyFunc
MyFunc(ThisHotkey)
{
Send ThisHotkey ;~ This is a wrong format, you must add "{", "}"
}
What I want to Send is "^!{F1}" which is the correct way to write it.
Now they are all in V2 version,
Why can't Hotkey and Send be unified into Symbol+{*}?
Because when I use variables to convert keys, I have to replace "{", "}" with empty
Code: Select all
HK:=StrReplace(HK,"{")
HK:=StrReplace(HK,"}")
Code: Select all
RegExMatch(A, "^([~+\^#!]+)([A-Za-z0-9]+)$", &match)
MsgBox match[1] '{' match[2] '}'
very troublesome.