I'm new to Autohotkey and have been trying to use it to swap the shifted and unshifted versions of Semicolon/Colon and Grave/Tilde keys for use in typing in Windows 10. I found online the script below:
Code: Select all
$+;:: Send {Shift Up};{Shift Down}
$;:: Send {Shift Down};{Shift Up}
That works fine for the Semicolon/Colon key. However, when I simply replace the Semicolon symbol in that code with the Grave, and compile that:
Code: Select all
$+`:: Send {Shift Up}`{Shift Down}
$`:: Send {Shift Down}`{Shift Up}
the result is to disable the Grave/Tilde key altogether. I've spend hours fiddling with quote, escapes, etc., but the results have been mostly "bad syntax," and none have worked. I'd be grateful to be told what I'm doing wrong, and how to get this simple script working.
--Donald Davis
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code!]
[Mod edit: Moved topic from AHK v2 help since this is v1 code.]