DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Middle mouse button for showing LBC  (Read 5,518 times)

LittleBiG

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
Middle mouse button for showing LBC
« on: May 24, 2011, 11:43 AM »
Please develope this because it would be the fastest way to access the menu.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Middle mouse button for showing LBC
« Reply #1 on: May 24, 2011, 11:48 AM »
There is an easy solution:
You can define different hotkeys to show LBC or show it as a pop up menu, etc.
And then just program your middle mouse button to trigger that hotkey.

LittleBiG

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
Re: Middle mouse button for showing LBC
« Reply #2 on: May 24, 2011, 12:03 PM »
Unfortunatelly I have a very simple mouse and it hasn't a special software for setting middle mouse button to do anything.

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Middle mouse button for showing LBC
« Reply #3 on: May 24, 2011, 02:39 PM »
Attached is a quick hack to get pressing the middle mouse button to lead to a configurable key sequence being generated.

The attached settings.ini file makes the generated key sequence Control+Shift+B.

  • Place the settings.ini file and exe file in the same directory and launch the exe.
  • Configure LBC to show or come up as a pop up menu via Control+Shift+B.
  • Try invoking Control+Shift+B.

For more info on configuration of hotkeys see:

  http://www.autohotkey.com/docs/Hotkeys.htm
  http://www.autohotkey.com/docs/commands/Send.htm

Original address: https://www.donationcoder.com/forum/index.php?topic=26848.0