Does anyone know how to bind extra mouse buttons to commands in visual studio 2008? There used to be a \"powertoy\" that let you do it for visual studio 2003, but I can\'t find
For anyone still looking for a solution that will work in any version of Visual Studio (as I was), I found X-Mouse Button Control.
You can map your commands to whatever keyboard shortcut you like and then use X-Mouse Button Control to send those keystrokes only to devenv.exe.
First you'll have to add an application profile for devenv.exe. Then, to map the keystrokes, just select "Simulated Keys" in the dropdown box next to the mouse button you want. Follow the prompts to set the keystrokes, and you're all set.
AutoHotkey
While AutoHotKey was interesting, it doesn't really do what I want to do, which is map buttons to keys in an application-specific context.
I ended up finding this add-in: http://www.codeproject.com/KB/macros/MouseNavi.aspx
which I just modified and threw into the AddIns directory for Visual Studio.
MSDN