Autohotkey script for melee barbarian
Page 1 of 4 • 1, 2, 3, 4
Autohotkey script for melee barbarian
I want to share something that really helped me enjoy a melee barbarian with stance on RMB as you no longer have to click like a madman to attack.
install AutoHotKey, right click on your desktop and choose new -> autohotkey script , then paste this code in the empty script:
what this does is, as long as you keep the middle mouse button pressed ( in my case this is the mousewheel ) it will keep leftclicking as fast as possible. so you can play melee like you would using the right mouse button.
install AutoHotKey, right click on your desktop and choose new -> autohotkey script , then paste this code in the empty script:
- Code:
SetTitleMatchMode, 2[size=12][/size]
#IfWinActive, Diablo
$MButton::
while GetKeyState("MButton", "P")
{
Sleep, 40
Click
}
return
what this does is, as long as you keep the middle mouse button pressed ( in my case this is the mousewheel ) it will keep leftclicking as fast as possible. so you can play melee like you would using the right mouse button.
Last edited by Gekko64 on Thu Jul 16, 2015 4:54 pm; edited 3 times in total
Gekko64- Hopeless
- Twinktwat
Posts : 948
Country :
Re: Autohotkey script for melee barbarian
edited first post, I'm pretty sure I've fixed the issue with the loop getting stuck by making it only click once per frame. I guess it was clicking too fast and the game sometimes would't realize the key is not pressed anymore 

Gekko64- Hopeless
- Twinktwat
Posts : 948
Country :
Re: Autohotkey script for melee barbarian
Just want to give a quick thanks for this. Barbarian is a ways off on my to play list, but I'll almost certainly break it out then. Autohotkey is a useful program. Used it for Company of Heroes most recently.
buffaloburger- Que-Hegan
- Posts : 118
Country :
Re: Autohotkey script for melee barbarian
you're welcome! I hope it'll be as useful for you as it has been for me 

Gekko64- Hopeless
- Twinktwat
Posts : 948
Country :
Re: Autohotkey script for melee barbarian
i dont have the option for auto hotkey. is that something i need to download and install before doing what is stated in above thread?
bettyrubble- Mahasattva
- Posts : 296
Country :
Re: Autohotkey script for melee barbarian
Yup download the program. Then you use a script for whatever application you need. Normally you have to write your own, but thanks to Gekko you can just copy/paste.
buffaloburger- Que-Hegan
- Posts : 118
Country :
Re: Autohotkey script for melee barbarian
I think it would be a good thing for people if you posted a link to a download for the program, since it seems odd to not have a link to it since there are bound to have never heard of said program before like me.
-
Anyway, it seems like it could be a useful tool but I have no problems playing a barb with my main attack on my left click since that's how I normally play. I'm sure someone will find this useful though.
-
Anyway, it seems like it could be a useful tool but I have no problems playing a barb with my main attack on my left click since that's how I normally play. I'm sure someone will find this useful though.
Thall- Bloody Butcher
- We March For Macragge!
Posts : 482
Country :
Re: Autohotkey script for melee barbarian
@ Thall - Good point. For those looking for a link : http://www.autohotkey.com/
Page has instructions, description, and download link at the top.
Page has instructions, description, and download link at the top.
buffaloburger- Que-Hegan
- Posts : 118
Country :
Re: Autohotkey script for melee barbarian
added link to the first post, let me know if it works well 

Gekko64- Hopeless
- Twinktwat
Posts : 948
Country :
Re: Autohotkey script for melee barbarian
can this thread be moved to Tools section?
Gekko64- Hopeless
- Twinktwat
Posts : 948
Country :
Page 1 of 4 • 1, 2, 3, 4
Page 1 of 4
Permissions in this forum:
You cannot reply to topics in this forum