Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.