I need a script to: hold Q = hold mouse1 and press C, release Q = release mouse1 and press C Topic is solved

Ask gaming related questions (AHK v1.1 and older)
solod0lo

I need a script to: hold Q = hold mouse1 and press C, release Q = release mouse1 and press C

08 Mar 2018, 21:07

I need it for a game so i can shoot and crouch with a single key, but i can still shoot with out crouching when needed, and i can also toggle crouch when needed. any help would be greatly appreciated, thank's in advance.
Rohwedder
Posts: 7647
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: I need a script to: hold Q = hold mouse1 and press C, release Q = release mouse1 and press C  Topic is solved

11 Mar 2018, 02:56

Hallo,
assumed mouse1 = XButton1, try:

Code: Select all

q::Send, {XButton1 Down}c
q Up::Send, {XButton1 Up}c

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 79 guests