Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried using AutoHotKey to map Win + , (that is, the windows key and the comma key) to <, but it won't work for all applications. What are the reasons for this, and what can I do about it? Examples of an applications where it doesn't work are Cygwin, vim, emacs (not necessarily started from cygwin) and for operating systems launched inside of VirtualBox. Interestingly, most of the applications where it doesn't work actually exhibit different behavior from each other (they display different characters).

The reason I want to do this remapping, by the way, is because I am using a keyboard (American) which physically has one less key than the keyboard map that I would like to use (Norwegian).

share|improve this question

This isn't going to be possible.

Some programs just simply install their own keyboard hooks and thus intercept the keystrokes before Autohotkey. And there is no guaranteed way or a reasonable way for the OS to make sure Autohotkey intercepts keypresses before any other programs.

share|improve this answer
It should be possible, but may require a keyboard driver (possibly replacing the default one) - the driver will always get the messages first. – Bob Mar 6 '12 at 12:18
@Bob: I didn't feel that is a practical solution, but my assumption could be wrong. – surfasb Mar 6 '12 at 12:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.