PDA

View Full Version : Temp solution for spamclicking


ceemeeir
10-19-2011, 07:48 AM
I don't want to loose my mouse in 1 week, so I made an AutHotkey macro to ease the stress on my mouse

#ifwinactive Dungeon Defenders
{

$LButton::
{
send {LButton}
sleep 300
While GetKeyState("LButton", "P")
{
If GetKeyState("LButton","P")
Send {LButton}
sleep 200
}
return
}
$RButton::
{
send {RButton}
sleep 300
While GetKeyState("RButton", "P")
{
If GetKeyState("RButton","P")
Send {RButton}
sleep 300
}
return
}
return
}

What this does: you click the button, it send the event, then waits 0.3 seconds, if the button is still pressed down, it keeps repeating the button press event every 0.3 sec until it is pressed.
Feel free to modify to your liking.

Note: This probably won't work really well for mages. (I read they have different way of attacking)

Village Idiot
10-19-2011, 08:03 AM
I can't believe they still haven't given up an auto-attack button.