How to hold one key to change behavior of another key
Posted: 12 May 2024, 18:57
I want RButton to output MButton only when XButton2 is being held down
Let's help each other out
https://www.autohotkey.com/boards/
https://www.autohotkey.com/boards/viewtopic.php?f=82&t=129785
Code: Select all
#Requires AutoHotkey v2.0
XButton2::XButton2
XButton2 & RButton::Click('M'), SoundBeep(1500)
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)