Send RAltx2 when I hold RButton+LButton Topic is solved

Ask gaming related questions (AHK v1.1 and older)
WekizZ
Posts: 73
Joined: 14 Jul 2017, 04:40

Send RAltx2 when I hold RButton+LButton

Post by WekizZ » 15 Jan 2022, 16:45

This is my code, but it only works when I press LButton+RButton and I want it the other way around.

Code: Select all

~RButton & ~LButton::
	Send, {RAlt 2}
	While GetKeyState("RButton") && GetKeyState("LButton")
	Continue
Return

User avatar
boiler
Posts: 17053
Joined: 21 Dec 2014, 02:44

Re: Send RAltx2 when I hold RButton+LButton

Post by boiler » 15 Jan 2022, 19:33

It seems like it would already work the other way around and not the way you describe it. Do you use your mouse left handed and did you reverse your primary and secondary buttons? Did you try reversing them on the fist line?

WekizZ
Posts: 73
Joined: 14 Jul 2017, 04:40

Re: Send RAltx2 when I hold RButton+LButton  Topic is solved

Post by WekizZ » 16 Jan 2022, 05:33

I tried one thing, Run As Administrator and I think it worked. Either way it works now XD

Post Reply

Return to “Gaming Help (v1)”