Hey guys! I'm here to share my Applscript code for an automatic realm list change, this is great for changing from Blizzard servers to private servers without the hassle of digging through your WoW folder.
The words in orange is where you change the realmlist info for example: set realmlist wowbeez.no-ip.org.
<-Start of Script->
set homepath to POSIX path of (path to home folder from user domain)
activate application "TextEdit"
tell application "TextEdit"
activate
make new document
set text of document 1 to "Realmlist Info" as text
save document 1 in (homepath & "World of Warcraft/Data/enUS/realmlist.wtf")
end tell
do shell script "killall TextEdit"
display dialog "Realmlist change was a success! You may now login, click ''OK'' to launch World of warcraft"
activate application "World of Warcraft"
<-End of Script->