Skip to content

Instantly share code, notes, and snippets.

Created June 1, 2012 20:19
Show Gist options
  • Save anonymous/2854902 to your computer and use it in GitHub Desktop.
Save anonymous/2854902 to your computer and use it in GitHub Desktop.
;If you are experiencing some wierd behavior with the script (exp. doesn't pick the right abilities) = increase this value -> to 100 or higher
delay := 50
#Include %A_ScriptDir%\lib\diablo3_func.ahk
#Include %A_ScriptDir%\lib\diablo3_get_talentbuild.ahk
#NoEnv
#SingleInstance force
#ifwinactive, Diablo III
;<<==========================================================>>
;<<=====================<<[ EXAMPLE ]>>======================>>
;<<==========================================================>>
/*
1. Create a build with the calculator: http://us.battle.net/d3/en/calculator/
2. When you are done, Copy our build's url ( it should look something like this: http://us.battle.net/d3/en/calculator/demon-hunter#WRXgVY!eTY!ZZaYbZ )
3. Run this script
4. Press Ctrl + Alt + Numpad7 and paste the build url, and press Enter
read on...
F1::
ControlSend,, S, Diablo III
WinGetPos,,, Width, Height, Diablo III
* Paste the Switch_code here (that CTRL+ALT+Numpad7 gaves you) *
ControlSend,, {Esc}, Diablo III
return
... so it should look like this:
F1::
ControlSend,, S, Diablo III
Set_Resolution()
Switch_Skill(Skill_1,1,Ability4_4,Rune_4)
Switch_Skill(Skill_2,2,Ability4_2,Rune_1)
Switch_Skill(Skill_3,3,Ability3_3,Rune_5)
Switch_Skill(Skill_4,4,Ability4_1,Rune_3)
Switch_Skill(Skill_5,5,Ability4_2,Rune_4)
Switch_Skill(Skill_6,6,Ability4_2,Rune_6)
Switch_Passive(PSkill_1,PassiveAb_5)
Switch_Passive(PSkill_2,PassiveAb_11)
Switch_Passive(PSkill_3,PassiveAb_13)
ControlSend,, {Esc}, Diablo III
return
If you press F1 in D3, the script will switch to the desired build.
*/
F1::
ControlSend,, S, Diablo III
Set_Resolution()
ControlSend,, {Esc}, Diablo III
return
F2::
ControlSend,, S, Diablo III
Set_Resolution()
ControlSend,, {Esc}, Diablo III
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment