How to hold one key to change behavior of another key
-
- Posts: 2
- Joined: 12 May 2024, 18:53
How to hold one key to change behavior of another key
I want RButton to output MButton only when XButton2 is being held down
Re: How to hold one key to change behavior of another key
Welcome to this AutoHotkey forum!
Code: Select all
#Requires AutoHotkey v2.0
XButton2::XButton2
XButton2 & RButton::Click('M'), SoundBeep(1500)
-
- Posts: 2
- Joined: 12 May 2024, 18:53
Re: How to hold one key to change behavior of another key
Worked exactly how I wanted it to thanks!mikeyww wrote: ↑12 May 2024, 19:29Welcome to this AutoHotkey forum!
Code: Select all
#Requires AutoHotkey v2.0 XButton2::XButton2 XButton2 & RButton::Click('M'), SoundBeep(1500)