Create Mouse Right Click Hotkey

Get help with using AutoHotkey and its commands and hotkeys
yabab33299
Posts: 79
Joined: 06 May 2020, 17:16

Create Mouse Right Click Hotkey

28 Jul 2020, 20:40

Hi, how do I create a hotkey that when pressing the LEFT CTRL key, it represents MouseClick Right. I tried ^ :: MouseClick, right. It does not work
User avatar
boiler
Posts: 5605
Joined: 21 Dec 2014, 02:44

Re: Create Mouse Right Click Hotkey

28 Jul 2020, 21:18

Try this:

Code: Select all

LCtrl::RButton
^ is for Ctrl as a modifier to another key, not for when it's the hotkey itself.
yabab33299
Posts: 79
Joined: 06 May 2020, 17:16

Re: Create Mouse Right Click Hotkey

02 Aug 2020, 11:03

boiler wrote:
28 Jul 2020, 21:18
Try this:

Code: Select all

LCtrl::RButton
^ is for Ctrl as a modifier to another key, not for when it's the hotkey itself.
How do I make it a combination key, like Left Alt and Left windows key?
User avatar
boiler
Posts: 5605
Joined: 21 Dec 2014, 02:44

Re: Create Mouse Right Click Hotkey

02 Aug 2020, 12:42

yabab33299 wrote:
02 Aug 2020, 11:03
How do I make it a combination key, like Left Alt and Left windows key?
Presss Left Alt first:

Code: Select all

<!LWin::MsgBox hello
If you want to press Left Win first:

Code: Select all

<#LAlt::MsgBox hello

Return to “Ask For Help”

Who is online

Users browsing this forum: boiler, Google [Bot], jeongrak2 and 45 guests