Hi everyone, I'm pretty new to this hotkey thing and I'd appreciate any help I could get.
Basically what I want is, when I hold my XButton2 it acts as if I'm holding both my LMB and RMB at the same time.
XButton2::LButton & RButton doesn't seem to work
Thanks in advance!
XButton2 = LButton + RButton Topic is solved
Re: XButton2 = LButton + RButton Topic is solved
True. Your actions would need to be AHK commands or functions. The AHK documentation contains an index of all of the commands.
Code: Select all
XButton2::
SoundBeep, 1500
Click, D
Click, R D
KeyWait, %A_ThisHotkey%
Click, R U
Click, U
SoundBeep, 1000
Return
-
- Posts: 2
- Joined: 21 Jul 2021, 21:09
Re: XButton2 = LButton + RButton
Thank you so much! This works like a charm~mikeyww wrote: ↑21 Jul 2021, 21:39True. Your actions would need to be AHK commands or functions. The AHK documentation contains an index of all of the commands.
Code: Select all
XButton2:: SoundBeep, 1500 Click, D Click, R D KeyWait, %A_ThisHotkey% Click, R U Click, U SoundBeep, 1000 Return