I want ;
to be a new modifier key. The following works almost perfectly.
`;::
if GetKeyState("LShift", "P")
Send `:
else
Send `;
return
`; & x::
if GetKeyState("LShift", "P")
...
else
...
return
Only point 2. of the following wishlist does not work. Does anybody know how to fix this code?
;
to be;
when pressed aloneshift ;
to be:
when pressed alone;
withx
to be the second...
shift
with;
withx
to be the first...
The following works perfectly, but is ugly code due to code duplication. Maybe cleaner code is possible.
The key
;
now works as modifier key whenever it is used in a combination withx
(without delay) or if it is pressed more than half a second. The delay is not neccesary and can be removed; it's just there prevent misinterpretation of an accidental modifier keypress as a;
. The colon:
works correctly too.