Is there a utility to map a keyboard key to middle-click?
In particular, I'm trying to map the useless Context Menu key to the middle-click on my laptop.
This Auto Hot Key script remaps the context menu key to middle-click:
Here is the full List of Keys, Mouse Buttons, and Joystick Controls.
It's actually possible to accomplish this entirely through some registry hacks, without having autohotkey always running on your computer.
1) create middle_click.ahk consisting only of:
2) using autohotkey, convert middle_click.ahk to middle_click.exe
3) open regedit and go to
4) each of the numbers that you see in this registry folder corresponds to the multimedia keys on your keyboard. decide which one of these keys you use the least. I chose #15, which corresponds to the email hotkey (my laptop doesn't even have an email hotkey)
5) edit the registry of whatever # you chose
7) using the keytweak gui, map your menu key to the email key
8) restart your computer