Very well, so I play on a private WoW server which gets waaaay too crowded during afternoons(my timezone) and forces me to go through a 1000+ queue in order to play. To avoid that I simply log on in the morning and leave the game open. Problem is, I can't always do that on my own! I work at night, so the server starts to open slots just as I am about to leave my house. Sad, I know. :[
I will tell my Windows Task Scheduler to automatically run WoW.exe every day at 10:00 AM. I will leave an AHK script open 24/7(since I don't turn off my computer at all) and need a specific code to detect that Wow.exe has been executed and send an input, in that case my password, then press enter. Basically the script is supposed to do that every time Wow.exe is executed.
So far I've tried this:
Code: Select all
#IfWinActive ahk_exe Wow.exe
sleep, 5000
Send PASSWORD{enter}
I know that it's extremely simple. It doesn't work properly, too.
So, according to what I said above, how could I make this code understand its purpose? Also, if you know a say better alternative to get these things done, for instance doing it all with AHK only, let me know.