Run("C:Program FilesWorld of Warcraft/WOW")
sleep(6000); this sleep command holds the rest of the commands for 6000, allowing time for the window to start up (you may have to adjust this to a larger number if your window takes longer to load up)
MouseClick("left", 672, 470, 1, 2); this positions your mouse to the account name window and clicks on it
Send("Account Name"); put your account name in the ""
send("{tab}"); this hits your tab button bringing you to your password window
send("Your Password Here"); put your password in the ""
send("{enter}"); this hits enter for you to log on
sleep(3000);this command holds the commands for 3000, just like the original sleep command, but allowing time for you to logon, this also may have to be readjusted
Mouseclick("left", 1178, 234, 1, 2); this positions itself to the character you want to log in with, the first 2 numbers will have to be changed to the position your mouse is with your character, these numbers can easily be achieved with your autoit windowinfo program
Mouseclick("left", 1178, 234, 1, 2); this is just a repeat of the above line so it double clicks and logs you on
exit