Since a few people were asking, here are some of the typical scripts I use for autocast / rebind with AutoHotKey.
Please use these at your own risk. I am not responsible for your actions.
The wizard in particular has problems with skills like Explosive Blast, Teleport with force stand, and Archon (with archon blast) that will otherwise destroy your hand from extended play.
Teleport & Force Stand
I prefer to rebind teleport for general use to the Tilde key (~). When in Archon though, I move this to my mouse button. These scripts assume you have force stand assigned to (XButton1), so change this if your force stand is assigned elsewhere. You will also want to place Teleport on your left click skill slot.
#IfWinActive, Diablo III F11::Suspend `::SendInput {XButton1 down}{LButton}{XButton1 up}
For outside Archon Form:
#IfWinActive, Diablo III F11::Suspend XButton2::SendInput {XButton1 down}{LButton}{XButton1 up}
Here is the reassignment I use for casting the Archon Teleport (while in archon form):
#IfWinActive, Diablo III `::Send {3}
Right Click Autocast toggle
This script is great for farming builds (such as Tal electrocute MH), that require you to hold down right click (also works good for DH strafe builds btw). If you're pushing with such a build you might prefer to not use this script though, as it can get rough if you accidentally toggle it off in higher GR.
How it works: right click will toggle cast of right click spell on or off. F3 suspends the script. You might have to tap right click after suspending to ensure casting has stopped.
#IfWinActive, Diablo III Suspend $RButton:: Send, % "{RButton " ( (Toggle:=!Toggle) ? "Down" : "Up" ) "}" F3:: Suspend return
Reassign Force Move to left click
#IfWinActive, Diablo III F3::Suspend LButton:: loop { if getkeystate("LButton", "p") ;if a button is Physically held down by the user. { send, {XButton2} sleep, 150 } else if ^LButton { SendRaw {LButton} } else { break } } return
This statement allows you make your Left click button always force move (assuming force move is assigned to XButton2). To circumvent the force move to pick up items or interact with objects, you can CTRL+left click. F3 easily suspends the script. Lbutton's assigned skill can still be cast using the Teleport script listed above, or you can just manually press force stand + left click.
This is great for builds that don't use teleport.
Explosive Blast & Related short Cooldown skills
EB builds often use repeating spells that are on a short cooldown. These include but aren't limited to: EB, DS, and FN. Especially for a farming build, this can be very hard to maintain without damaging your hand.
#IfWinActive, Diablo III Pause SetTimer, Timer1, 210 ; SetTimer, Timer2, 210 ; SetTimer, Timer3, 210 SetTimer, Timer4, 210 return F2:: Pause return Timer1: Send 1 return ; Timer2: ; Send 2 ; return ; Timer3: ; Send 3 ; return Timer4: Send 4 return
The script above assumes a typical FN:Mists + EB setup on skill keys 1 and 4. Note the timers can be commented out using the semicolon (;). More (or less) can be used, and you can even customize which keys are used, and the frequency (in milliseconds) that the spell attempts to cast. The script can be paused or unpaused by pressing the F2 key.
Archon / Archon Blast with Explosive Blast or Diamond Skin:
#IfWinActive, Diablo III Pause SetTimer, Timer1, 210 ; SetTimer, Timer2, 210 ; SetTimer, Timer3, 210 SetTimer, Timer4, 210 return F2:: Pause return Timer1: Send 1 return ; Timer2: ; Send 2 ; return ; Timer3: ; Send 3 ; return Timer4: Send 4 return
For this setup to work you want to place Archon in the skill 1 slot, and EB in the skill 4 slot. Since the number 4 slot is unused while in archon form, only when you come out of archon form will skill 4 (EB) be cast.
Thank you for reading, and Happy slaying, wizards!
EDIT (6/17/2018): By request, here is the script I use for rolling blood shards at Kadala. This spams right click up to 30 times (enough to fill an inventory). Feel free to reassign the hotkey or number of clicks.
#IfWinActive, Diablo III F7:: Click,right,30 Return
EDIT (10/19/2018): Adding in script for DH / Displacement Nephalem rifting build: https://www.diablofans.com/builds/100857
Note that shadow power (Timer1) below is fairly configurable. Thus far I've preferred quicker recast here to boost uptime on Tactical Advantage, but if you'd like to save a little on resource more, this would be an easy place to do that, simply increase to 4500 or so.
#IfWinActive, Diablo III Pause SetTimer, Timer1, 3500 SetTimer, Timer2, 2250 SetTimer, Timer3, 210 SetTimer, Timer4, 210 return F2:: Pause return Timer1: Send 1 return Timer2: Send 2 return Timer3: Send 3 return Timer4: Send 4 return
EDIT: (6/17/2018): By request, here is the script I use for condemn on the crusader. The num1 attack is tuned slightly differently, to match condemn. It may need slight adjustment on your own machine depending on your system, network, preference, etc.
#IfWinActive, Diablo III Pause SetTimer, Timer1, 340 SetTimer, Timer2, 210 SetTimer, Timer3, 210 SetTimer, Timer4, 210 return F2:: Pause return Timer1: Send 1 return Timer2: Send 2 return Timer3: Send 3 return Timer4: Send 4 return
1