I know It's probably because It's not supposed to be sending {control} but I can't find an alternate solution. Little help please? I need to have a lot of control options with mouse button combos. Cheers.$*XButton2::
Send {Blind}{right}
KeyWait, XButton2, T0.4
If ErrorLevel {
Send {control}
KeyWait, XButton2
}
return
Back\forward buttons long pressed to act as crtl/alt & left/right
-
- Posts: 48
- Joined: 11 Sep 2018, 12:37
Back\forward buttons long pressed to act as crtl/alt & left/right
Hello, like the title says, I need my left and right mouse buttons to act like left arrow and right arrow (which is easy) but I want to be able to long press them so they become ctrl and alt (as if I was long pressing control and/or alt on my keyboard). This is what I have, It's not working.
Re: Back\forward buttons long pressed to act as crtl/alt & left/right
Code: Select all
LButton::
KeyWait, LButton, T.3
If ErrorLevel {
Send {Ctrl down}
SoundBeep, 1500
KeyWait, LButton
Send {Ctrl up}
} Else Send {Left}
Return
Who is online
Users browsing this forum: peter_ahk and 354 guests