Alternative hotkey for middle mouse button


some people

A few days ago, my middle mouse button broke and could only scroll. The problem was that I used this button a lot and it was the reason he broke, so I searched for a way to "replace" his function and found out about AutoHotKey. I read many docs and articles on how to make him work, I can get it to work with Shift+Ctrl+Alt+LButton , but there are too many keys to press, so I thought about ' + LButton . Yes, quote. It's a key, I don't need to use it much, and it's perfectly positioned. I tried and searched how to make it work, but I can't find it, and the way I know it gives me an "invalid hotkey" error.

What I need is a script for AutoHotKey that simulates a middle mouse button click when I press ' + LButton .

What I have tried is:

'LButton::
Send, MButton
return
0x464e

One of them will do this

' & LButton::MButton
~' & LButton::MButton

The first will prevent your 'key from working, the second will not, but the second will always be sent when you press the middle mouse 'button .


Pay special attention if you are using the second version (the first version doesn't matter because your 'key will be disabled).

'When using this hotkey, make sure to release it quickly . If you hold it down long enough for Window's key repeat feature to take effect, you'll exit mid-mouse scrolling mode.
So to use it, press and hold (for a short time) ', while (a little later) press (and then hold) LButtonand release '.
You can then continue to hold LButton, if holding is what you want to do.

Related


Alternative hotkey for middle mouse button

some people A few days ago, my middle mouse button broke and could only scroll. The problem was that I used this button a lot and it was the reason he broke, so I searched for a way to "replace" his function and found out about AutoHotKey. I read a lot of docs

Alternative hotkey for middle mouse button

some people A few days ago, my middle mouse button broke and could only scroll. The problem was that I used this button a lot and it was the reason he broke, so I searched for a way to "replace" his function and found out about AutoHotKey. I read a lot of docs

Alternative hotkey for middle mouse button

some people A few days ago, my middle mouse button broke and could only scroll. The problem was that I used this button a lot and it was the reason he broke, so I searched for a way to "replace" his function and found out about AutoHotKey. I read a lot of docs

Alternative hotkey for middle mouse button

some people A few days ago, my middle mouse button broke and could only scroll. The problem was that I used this button a lot and it was the reason he broke, so I searched for a way to "replace" his function and found out about AutoHotKey. I read a lot of docs

Alternative hotkey for middle mouse button

some people A few days ago, my middle mouse button broke and could only scroll. The problem was that I used this button a lot and it was the reason he broke, so I searched for a way to "replace" his function and found out about AutoHotKey. I read many docs and

Which mouse button is in the middle?

Radu Murzea: I'm currently developing a program in Java where a specific event has to be fired only when the user clicks with the left and right mouse buttons at the same time. Since this is a bit unconventional, I decided to test it first. here is: import jav

Which mouse button is in the middle?

Radu Murzea: I'm currently developing a program in Java where a specific event has to be fired only when the user clicks with the left and right mouse buttons at the same time. Since this is a bit unconventional, I decided to test it first. here is: import jav

Disable middle mouse button

Tom Hamilton Stubber So I've tried going through various other questions, but they mostly focus on disabling middle mouse button paste. Basically, the middle mouse button on my Logitech G500s is broken and keeps "clicking" randomly, increasing any chance of do

Paste with the middle mouse button

Sriharsha Kalluru Are there any apps that use the middle button to paste the same text every time? I've seen tools to paste clipboard text, but I want the same text to be pasted every time I click the middle mouse button. Karan With AutoHotkey the following ca

Disable middle mouse button

Ethan Hunt I need a question to help you, how to disable middle mouse click on any link to open new tab in IE 7,8,9. I have tried many things like return false; e.cancelBubble = true;e.returnValue = false; But there is no way to stop IE's ability to open a Ne

Which mouse button is in the middle?

Radu Murzea: I'm currently developing a program in Java where a specific event has to be fired only when the user clicks with the left and right mouse buttons at the same time. Since this is a bit unconventional, I decided to test it first. here is: import jav

Paste with the middle mouse button

Sriharsha Kalluru Are there any apps that use the middle button to paste the same text every time? I've seen tools to paste clipboard text, but I want the same text to be pasted every time I click the middle mouse button. Karan With AutoHotkey the following ca

Back button to middle mouse button

Protect I want to map the "back" button (xev means "button 7") of a mouse (A4Tech X-7) as the middle mouse button. Is there a way to do this? I'm lost in Google and only find how to map buttons to keyboard shortcuts using xbindkeys etc. Operating system: Cento

Back button to middle mouse button

Protect I want to map the "back" button (xev means "button 7") of a mouse (A4Tech X-7) as the middle mouse button. Is there a way to do this? I'm lost in Google and only find how to map buttons to keyboard shortcuts using xbindkeys etc. Operating system: Cento

Back button to middle mouse button

Protect I want to map the "back" button (xev means "button 7") of a mouse (A4Tech X-7) as the middle mouse button. Is there a way to do this? I'm lost in Google and only find how to map buttons to keyboard shortcuts using xbindkeys etc. Operating system: Cento

Vaadin Grid middle mouse button

F43nd1r I'm trying to simulate normal browser behavior in a vaadin grid, which includes middle-clicking to open in a new tab: addItemClickListener(e -> { boolean newTab = e.getMouseEventDetails().getButton() == MouseEventDetails.MouseButton.MIDDLE

How to handle the middle mouse button?

Gibbs I have an ember component that generates a set of user groups. When the user clicks on one of the list components, it calls the linkAction defined in that component and takes the user to the specific page associated with that list item. However, when the

How to handle the middle mouse button?

Gibbs I have an ember component that generates a set of user groups. When the user clicks on one of the list components, it calls the linkAction defined in that component and takes the user to the specific page associated with that list item. However, when the

Vaadin Grid middle mouse button

F43nd1r I'm trying to simulate normal browser behavior in a vaadin grid, which includes middle-clicking to open in a new tab: addItemClickListener(e -> { boolean newTab = e.getMouseEventDetails().getButton() == MouseEventDetails.MouseButton.MIDDLE

Firefox middle mouse button scrolling

pixel developer How do I get the middle mouse button to work properly in Ubuntu? Clicking the middle button doesn't show the arrow, which allows me to scroll the page by moving the mouse. information: Firefox 3.6.8 Mouse: Microsoft Intellimouse Explorer 3.0 Is

Firefox middle mouse button scrolling

pixel developer How do I get the middle mouse button to work properly in Ubuntu? Clicking the middle button doesn't show the arrow, which allows me to scroll the page by moving the mouse. information: Firefox 3.6.8 Mouse: Microsoft Intellimouse Explorer 3.0 Is

Emulate middle mouse button with AutoHotKey

Buck I want to write a simple script (single line?) to map left shift + right mouse button to middle mouse button (I don't actually have middle mouse button because it's a trackpad). I tried this variation: #(LShift & RButton)::MButton or (LShift & RButton::M

Vaadin Grid middle mouse button

F43nd1r I'm trying to simulate normal browser behavior in a vaadin grid, which includes middle-clicking to open in a new tab: addItemClickListener(e -> { boolean newTab = e.getMouseEventDetails().getButton() == MouseEventDetails.MouseButton.MIDDLE

How to handle the middle mouse button?

Gibbs I have an ember component that generates a set of user groups. When the user clicks on one of the list components, it calls the linkAction defined in that component and takes the user to the specific page associated with that list item. However, when the

How to handle the middle mouse button?

Gibbs I have an ember component that generates a set of user groups. When the user clicks on one of the list components, it calls the linkAction defined in that component and takes the user to the specific page associated with that list item. However, when the

"Middle Mouse Button" pastes where the mouse cursor is

Dennis Kuhn [EDIT] : The observed problem is misleading, as it turns out that it stems from the behavior of Google Doc. See the accepted answer. Is it possible to configure the "middle mouse button"-paste option to paste text not where the text cursor is, but

How to map the middle mouse button for double click?

Kira Ubuntu 18.04. When I click the middle mouse button, it should double click. thanks. Edit: Using the Unity desktop. unknown OS: Ubuntu 18:04 Required packages: xdotoolandxbindkeys you can install these packagessudo apt install xdotool xbindkeys gedit .xbin

tkinter: How to autoscroll with middle mouse button?

哈格(Haggar) Right now, I have an implementation that does two things with the middle mouse button: Scroll the wheel to zoom in and out Roll the wheel button to scroll (pan) left, right, top and bottom. But in this function, I keep pressing the scroll button to

TableView row selection click on middle mouse button

West Dandan Currently in TableView, row selection doesn't happen when we middle click. If we click the right or left mouse button, the row is selected. I'm trying to have a function to select a row when the middle button is clicked. I already know that includi