Oh and this is the script that I am currently using for my Rune Priest that is specced for Rune of Burning.
I put a few comments in there so that you would understand what the stuff that is almost self explanatory does.
Copy paste it into the SciTE Editor and itll be easier to read.
Code:
;The spell rotation in here is Rune of Striking (Ctrl+1), Rune of Fire (Ctrl+2), Rune of Burning (Ctrl+3), Rune of Fire (Ctrl+2), Rune of Immolation (5), Rune of Regeneration (4), Rune of Burning (Ctrl+3) and last Rune of Fate (Ctrl+F).
;Overkill, definitive kill.
While 1 = 1
WinActivate("Warhammer: Age of Reckoning, Copyright 2001-2008 Electronic Arts, Inc.")
;Makes sure that the active window is WAR, AutoIt will send the keys to any active window and if your virus scanner pops up with the results of the scan that you dont give a shit about youre definately dead if you dont have this in there.
Sleep(500)
Send ("{TAB}")
Sleep(500)
;Sleeps 0.5 seconds, presses tab, sleeps for another 0.5 seconds.
Send("{CTRLDOWN}")
Send ("{1}")
Send("{CTRLUP}")
Sleep(2100)
;Holds CTRL, presses 1, releases CTRL and then sleeps for 2.1 seconds as the spell is a 2 second cast.
WinActivate("Warhammer: Age of Reckoning, Copyright 2001-2008 Electronic Arts, Inc.")
Send("{CTRLDOWN}")
Send ("{2}")
Send("{CTRLUP}")
Sleep(1600)
WinActivate("Warhammer: Age of Reckoning, Copyright 2001-2008 Electronic Arts, Inc.")
Send("{CTRLDOWN}")
Send ("{3}")
Send("{CTRLUP}")
Sleep(6100)
;Holds CTRL, presses 3, releases CTRL and then sleeps for 6.1 seconds as the spell is a 6 second channeling spell.
WinActivate("Warhammer: Age of Reckoning, Copyright 2001-2008 Electronic Arts, Inc.")
Send("{CTRLDOWN}")
Send ("{2}")
Send("{CTRLUP}")
Sleep(1600)
WinActivate("Warhammer: Age of Reckoning, Copyright 2001-2008 Electronic Arts, Inc.")
Send ("{5}")
Sleep(1600)
WinActivate("Warhammer: Age of Reckoning, Copyright 2001-2008 Electronic Arts, Inc.")
Send ("{4}")
Sleep(1600)
WinActivate("Warhammer: Age of Reckoning, Copyright 2001-2008 Electronic Arts, Inc.")
Send("{CTRLDOWN}")
Send ("{3}")
Send("{CTRLUP}")
Sleep(6100)
Send("{CTRLDOWN}")
Send ("{f}")
Send("{CTRLUP}")
WEnd