Page 1 of 1

Keypresses overruled unintentionally

Posted: 25 Sep 2018, 06:38
by MikkelJuul
Using the code
SendMode Input ;
Menu, Tray, Icon, aeoeaa.png, ,0

!`;::
Send æ
return
+!`;::
Send Æ
return
!'::
Send ø
return
+!'::
Send Ø
return
![::
Send å
return
+![::
Send Å
return

<^>!`;::
Send æ
return
+<^>!`;::
Send Æ
return
<^>!'::
Send ø
return
+<^>!'::
Send Ø
return
<^>![::
Send å
return
+<^>![::
Send Å
return

To remap English keys(; ' [)+Alt/AltGr to danish letters (æøå) and uppercase vice versa
I have the issue that +' become Ø
and +] become Å
They are buttons that were not at all used in the above mapping, so it feats me how they are remapped.

SOLUTION:
manually overriding the buttons using
+]::]
+'::'
works and the buttons are back to normal functionality

Re: Keypresses overruled unintentionally

Posted: 03 Nov 2018, 17:05
by lexikos
I cannot reproduce your problem.

If you remove your workaround and press +' and +], what does KeyHistory show?

Also, some tips:
  • You can write !`;::Send æ and omit the return (when the hotkey's action is only one line).
  • You can write !;::Send æ; semicolon does not need to be escaped if it is preceded by a non-whitespace character.