I'm making a new thread because i allways wanted the HD wow feature from Jjaa to be automaticaly activated when i log in.
also this is an improved autologin from the one you can find from Jiat
first of all you need the HD wow feature from Jjaa, just download it and place it anywhere on your mac
then you need to open your script editor, which can be usualy found under /applications/applescript/script editor
the script for log into your battle.net account is a little bit differend from the one you want if you have a "normal" account. just follow the guide and skip comands that you don't need.
thats the login part of our auto login, you can finish the script with an "end tell" at the end, without " and ".tell application "System Events"
tell application "World of Warcraft" to activate <opens World of Warcraft"
keystroke "user@email" <writes your username into the userfield. just write your username if you don't have a battle.net account. don't forget " and " around it>
key code 48 <uses tap to switch to password field>
delay 1 <one second to switch delay, isn't necessary, but i allways use it if my mac get's a little slow>
keycode "Password" <writes your password, again don't forget " and " around it>
key code 36 <login>
key code 125 < / or key code 126 to choose the account you wan't to login. key code 125 is arrow down, key code 126 arrow up>
key code 36 <log into your choosen account>
delay 3 <give it some time to login>
tell application "System Events" <necessary to minimize window>
key code 46 using command down <minimizes your wow window to lauch termnal later. skip that part if you don't want hd wow to open>
end tell <stops telling things to "system events>
now to the "HD WoW" part. you need the path of the "HD WoW" application. to find it out, just drag and drop it into an open terminal window. the next part comes just under the last one. don't write "end tell" under the part above if you wan't to go further!
the finished skript should look something like this:tell application "Terminal" to activate <opens terminal>
keystroke "sudo -s" <root login>
key code 36 <enter to get to password field for root login>
delay 0.5 <terminal needs a little time>
keystroke "your userpasswordhere" <writes your userpassword to for the root login>
key code 36 <enter>
keystroke "/Users/User/Desktop/HDWoW/HDWoW" <this is your path to the HD WoW application, could be different from mine. again just drag and drop into a terminal window to find it out>
key code 36 <runs the HD WoW application>
delay 1 <again a little time to do so>
keystroke "exit" <writes exit into the terminal window>
key code 36 <quits the root login>
tell application "Terminal" to quit <quits terminal>
delay 1 <again 1 second to quit terminal>
tell application "System Events" <necessary to maximize wow window>
key code 46 using command down <maximize wow window>
end tell
end tell <finishes the script>
thats it! you can improve your login with choosing a character and entering the world, saying something in chat etc.tell application "System Events"
tell application "World of Warcraft" to activate
keystroke "username"
key code 48
delay 1
keystroke "password"
key code 36
tell application "System Events"
key code 46 using command down
end tell
tell application "Terminal" to activate
keystroke "sudo -s"
delay 0.5
key code 36
keystroke "userpassword"
key code 36
keystroke "/Users/yourusername/Desktop/HDWoW/HDWoW"
key code 36
delay 1
keystroke "exit"
key code 36
tell application "Terminal" to quit
delay 3
tell application "System Events"
key code 46 using command down
end tell
key code 36
end tell
hope someone is interested in this.