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

Ask gaming related questions
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: 552
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
I'm not an expert, just an enthusiastic AutoHotkey user. 8-)
Please do not support cheaters!
Keyboard: Logitech G15 first generation - Mice: Logitech G9, G502, G602 - OS: Windows 7 Pro 64 Bit - AHK version: 1.1.29.00

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 20 guests