Author: Backwardpawn, although it's a pretty simple script I'm sure someones made it before.
Name: 'Turbofire' AutoHotKey Script
Date: 07/14/2009
Description:
Replicate the old school 'Turbofire' controllers except with your keyboard.
Basically it sends keystrokes repeatedly to wow while holding down that key.
Some basic editing of the script will be needed depending what keys you want to have repeated.
Steps:
1. Download and install AutoHotKey.
2. Download 'Turbofire.ahk' listed at the bottom of this post.
3. Right-click and edit 'Turbofire.ahk' and you'll see
Code:
#ifWinActive World of Warcraft ; Only run if window 'World of Warcraft' is active
{
$E:: ; If e is pressed
$^E:: ; If e+control is pressed
$+E:: ; If e+shift is pressed
$!E:: ; If e+alt is pressed
Loop ; If any of the above is true then loop below
{
if not GetKeyState("E", "P") ; If E is not pressed then break the loop
break
if GetKeyState("LCtrl", "P") ; If left control is pressed then send control+e
Send ^e
else if GetKeyState("LShift", "P") ; If left shift is pressed then send shift+e
Send +e
else if GetKeyState("LAlt", "P") ; If left alt is pressed then send alt+e
Send !e
else
Send e ; If e is pressed with no other modifiers send e
sleep 135 ; Time in milliseconds between key repeats
}
return
}
The script provided makes it so when you hold down e it sends it repeatedly every 135ms instead.
It checks to see if you have any of the modifiers on the left side of your keyboard pressed and also sends them when held down.
To add or edit any more keys just copy everything in and including the outer most brackets, then add a new line and paste.
Replace all the keys in this pasted portion with the new key you want added.
You'll notice all the spots that need replacing in blue font above.
For example, if we wanted to add R to the script we'd now have
Code:
#ifWinActive World of Warcraft ; Only run if window 'World of Warcraft' is active
{
$e:: ; If e is pressed
$^e:: ; If e+control is pressed
$+e:: ; If e+shift is pressed
$!e:: ; If e+alt is pressed
Loop ; If any of the above is true then loop below
{
if not GetKeyState("e", "P") ; If e is not pressed then break the loop
break
if GetKeyState("LCtrl", "P") ; If left control is pressed then send control+e
Send ^e
else if GetKeyState("LShift", "P") ; If left shift is pressed then send shift+e
Send +e
else if GetKeyState("LAlt", "P") ; If left alt is pressed then send alt+e
Send !e
else
Send e ; If e is pressed with no other modifiers send e
sleep 135 ; Time in milliseconds between key repeats
}
return
}
{
$r::
$^r::
$+r::
$!r::
Loop
{
if not GetKeyState("r", "P")
break
if GetKeyState("LCtrl", "P")
Send ^r
else if GetKeyState("LShift", "P")
Send +r
else if GetKeyState("LAlt", "P")
Send !r
else
Send r
sleep 135
}
return
}
4. Save the script if you made any changes.
5. Start the script by double clicking it in your file manager.
6. Start up WoW and you should be good to go.
Notes:
This script can make typing a bit of a pain while in wow sometimes.
I've messed with the sleep portion myself until i found something that was comfortable
that allowed me to type with no repeats based on how fast I'm able to type.
I suggest playing with the number until you find something that feels good to you.
This may or may not be bannable. It's been discussed and there's been a
few different replies from GM's on the matter, some saying it is and it isn't.
Personally I don't feel it should be seeing how it doesn't fully automate anything.
I've been using this for almost a year now and have been fine.
Uses:
The main reason I use this is to reduce strain on my wrists and fingers from the constant spamming of buttons.
A few people in my family have carpel tunnel and I'd like to prevent that with myself if possible. It also helps your keyboard from breaking down from all the abuse.
The modifier checks in the script are there for a purpose, and that's for your macro's that check for modifiers.
My main is a mage and the following two macros really show the strength of this script.
Code:
FFB_PB (Set to E)
/cast [mod:shift] Pyroblast
/cast Frostfire Bolt
Sc_PB (Set to R)
/cast [mod:shift] Pyroblast
/cast Scorch
With these types of macros and an addon like Quartz it makes using my Hot Streak procs rather easy.
Just hold down shift towards the end of either cast for a second and it'll que up that instant pyroblast. No need to lift up off of e or r anymore.
Virus Scan: virusscan.png
Download: turbofire.ahk