Convert alt + left click into right click

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
plshelpidontgetit

Convert alt + left click into right click

17 Sep 2018, 22:34

Hello,

So my mouse's left click button broke recently. I've switched my primary mouse button to the right button in Windows control panel, but I still need to right click occasionally. I would like to create a script that lets me right click by holding alt and left click (or really, the physical right mouse button since it's flipped in Windows). I have tried the script:

Code: Select all

!LButton::
Send, RButton
return
But that doesn't seem to do anything. I'm sorry, this seems like it would be such a simple script but I can't seem to figure out how to use AHK properly.

Thank you for your help!
Rohwedder
Posts: 7647
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Convert alt + left click into right click

18 Sep 2018, 04:26

Hallo,
try to get a new mouse or:

Code: Select all

!LButton Up::
KeyWait, Alt
Send, {RButton}
return
plshelpidontgetit

Re: Convert alt + left click into right click

18 Sep 2018, 18:24

Rohwedder wrote:Hallo,
try to get a new mouse or:

Code: Select all

!LButton Up::
KeyWait, Alt
Send, {RButton}
return
Hi,

For some reason that code doesn't work for me either. However, I found an old mouse that I can use temporarily at least (though it also has clicking issues). Yeah, I definitely need a new mouse.

Anyway, I appreciate you help!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: filipemb and 297 guests