Assign Mouse Buttons in Visual Studio 2008

后端 未结 4 2343
甜味超标
甜味超标 2021-02-20 11:09

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

相关标签:
4条回答
  • 2021-02-20 11:33

    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.

    0 讨论(0)
  • 2021-02-20 11:36

    AutoHotkey

    0 讨论(0)
  • 2021-02-20 11:38

    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.

    0 讨论(0)
  • 2021-02-20 11:39

    MSDN

    0 讨论(0)
提交回复
热议问题