It isn't really that hard, but for those that don't know, here it is.
You will need the latest version of AutoIt and SciTE.
AutoIt v3: http://rapidshare.com/files/14634422...setup.exe.html
SciTE for AutoIt v3: http://rapidshare.com/files/14634411...toIt3.exe.html
For paranoid people: http://www.virustotal.com
Before we begin, let us go over some basic AutoIt terms:
script - The program its self, in raw (source) form.
extension - the 3 or 4 numbers/letters after the last . in a file name. (ie. .exe is the extension for WoW.exe)
code - The commands the program has the computer do.
.au3 - The file extension for AutoIt v3 scripts.
.ico - An icon file for compiling .exe files.
Ok, let's start. Load up the SciTE ScriptWriter. (Start -> Program Files -> AutoIt v3 -> SciTE -> Script Writer). You should get this:
Make sure Record Mouse is checked.
Type in your World of Warcraft Directory. (Mine is "C:\Program Files\World of Warcraft\WoW.exe" NOTE: You do NOT need to put quotation marks on it.) This tells your program what file to run. [Alternatively, you can use the Browse button next to the box and locate your WoW.exe that way. Also, you can choose to launch WoW with the launcher, it will only add another step or two to your program.]
Once you have all that done, press Click To Record in the Top-Left.
As soon as you hit Click To Record, the program will start recording what you do. (It is highly recommended that you read this whole guide first, so you know what to do, therefore removing the trouble of having to start your recording over again.)
World of Warcraft should launch, if not, you did something wrong. Reread the guide from the beginning and make sure everything is right.
Once it loads, go through your normal login procedure. Once you are done with your login, press Alt-Tab to go back to the desktop and press the Stop Recording button in the Top-Left corner of your screen.
The original window should reappear, but this time with code in the box! Press Save As.
Then type in what you want to save it as.
(I had some fun with this one. Aren't I a master artist?!)
Ok! We have our script for our program. Now to compile it into a .exe file.
Go to where you saved it. Right click and selet Compile With Options.
Here is a picture guide for this part:
Now you should have the original script file (.au3) the new exe file (.exe) and an ini file. (.ini, Not required, delete this if you want.)
Congratulations! You now have a program that will automatically log you in to World of Warcraft.
Tips and Other Information:
If you see the program clicking areas on the screen before it should, go to the script file (The one with the .au3 extension.) and add Sleep(#) where you think it is going too fast. (# is the amount of time in miliseconds). It shouldn't be that tough. AutoIt code isn't that hard to interpret. I'm not sure you have to add Sleeps anywhere, as mine loads fast enough, but if you do change anything, you will have to recompile.
If you are worried about this being detected, it shuts down as soon as the last command is executed. (Whether is be pressing the Log In button, or selecting a character.
Yay! We're done! Let's relax and dance a little.
:hsdance::devildance: