Im new.. can anyone explain it a little bit... Topic is solved

Ask gaming related questions (AHK v1.1 and older)
Jixxer awx
Posts: 3
Joined: 06 Mar 2018, 15:52

Im new.. can anyone explain it a little bit...

06 Mar 2018, 15:58

Okay.... i want that if i press my Middle wheel on my mouse (should be MButton) it should press 2 then it should leftklick then it should go to 3 and klick again... can you help me a little bit?? the comba is

2
klick
3
klick

seems easy for you i know but im new and youtube doesn´t help that good
User avatar
Scr1pter
Posts: 1272
Joined: 06 Aug 2017, 08:21
Location: Germany

Re: Im new.. can anyone explain it a little bit...  Topic is solved

06 Mar 2018, 18:28

Sounds like a gaming request (you should use the AHK gaming section next time - if it's about gaming)
Try this code:

Code: Select all

mbutton::
d = 5
Send 2
Sleep, d
Send {lbutton}
Sleep, d
Send 3
Sleep, d
Send {lbutton}
return
Adjust the sleep time by changing d = 5 to another value.
Or, remove the D = 5 and type in the desired value in each line.

Best regards
Please use [code][/code] when posting code!
Keyboard: Logitech G PRO - Mouse: Logitech G502 LS - OS: Windows 10 Pro 64 Bit - AHK version: 1.1.33.09

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 69 guests