Sunday, April 5, 2015

windows 7 - Map Context-Menu key to Alt Car (right)



I had my laptop for quite some time and just can't get used to the fact that my right alt-key is next to the context-menu key. Whenever I want to do coding special-characters, a menu pops up and has me raging. Therefore, what is the most light-weight solution to map it to Alt Car (right)?


EDIT: Using Windows 7, map in all contexts.


Answer



Personally, my solution to every key-mapping problem is to download AutoHotKey and write a script to remap the key. Remapping a key is as easy as writing [Actual Key Name]::[Intended Key Use], (both of these without brackets), in NotePad, and then saving it as an .ahk. If you want to make the key ignored, replace the intended use with "return". You can figure out the Actual Key Name by looking thru the help file for the key list, or else by using a feature of the AutoHotKey program called #KeyBoardHook, which will tell you what keys were pressed recently. To use keyboard hook, just create your script, and at the top type"#InstallKeybdHook". Then while the script is running, double click on the taskbar icon, navigate to *View | "Key History and script info". Press the key that you want to know, and then refresh the list page by pressing [F5].


Hope this helps, download page below.


http://www.autohotkey.com/download/


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...