Code: Select all
some_condition := true
sc056::LShift
#HotIf (some_condition)
+a:: Send "Ä"
a:: Send "ä"
I found that by adding a corresponding unconditional hotkey, the problem can be prevented.
The following works, but it is not what I want: I do not want to remap 'a' unconditionally - it should perform the standard action. Here sc056 + a yields the expected "Ä".
Code: Select all
some_condition := true
sc056::LShift
+a:: Send "{Text}A"
a:: Send "{Text}a"
#HotIf (some_condition)
+a:: Send "Ä"
a:: Send "ä"
Code: Select all
some_condition := false
sc056::LShift
#If (some_condition)
+a:: Send Ä
a:: Send ä