I am re-mapping the Qwerty layout (Danish) to Dvorak using AHK because I can't install custom keyboard layouts on this computer. So for instance these work fine:
:*:n::b ; remap "n" to "b". This automagically also works for "N"-->"B". :*:,::w ; remap comma to lowercase "w". :*:;::W ; uppercase comma must be specifically coded. :*:.::v ; remap period to lowercase "v".
So far so good, but this doesn't work for the "colon" which should become an uppercase "V". According to the docs, I should be able to use the escape character but perhaps only in the output, not in the trigger? Because it's not a letter key, this solution does not work either.
I've tried several combinations:
:*::::V ; "hotstring is missing its abbreviation" :*C::::V ; "hotstring is missing its abbreviation" :*C: `: ::V ; this just produces a colon... :*:`:::V ; "invalid hotkey" :*C:`:::V ; "invalid hotkey" `:::V ; "line does not contain a recognized action."
Note: of course I'm only trying one of the above at a time, but here they are all shown, not commented out.