I am running Windows 7 and would like to use the CAPSLOCK key as Alt Gr, because I don't use it anyway and shortcuts like Alt Gr + 7 ({
on the German keyboard) hurt the fingers.
I tried the following AutoHotkey script, because AltGr does not have its own symbol, but it seems like you cannot map a single key to two combined keys:
Capslock::LControl & RAlt
Am I doing it wrong or is this just not possible with AutoHotkey? If not, are there other tools that make it possible?
Answer
The suggestion in the comment may work...
Capslock::Send {LControl}{RAlt}
And you may or may not need to add a second hotkey for release if things get stuck.
Capslock::Send {LControl down}{RAlt down}
Capslock Up::Send {LControl Up}{RAlt up}
I can't test this on my keyboard.
See also this somewhat similar/related post.
No comments:
Post a Comment