Code:
;launch 5 WoWs if WoW not yet running
^+!l::
ifWinNotExist, World of Warcraft
{
WOW1 := "c:\wow1\maximizer.exe --device=2 --margin=0,525,0,840"
WOW2 := "c:\wow2\maximizer.exe --device=2 --margin=0,525,840,0"
WOW3 := "c:\wow3\maximizer.exe --device=2 --margin=525,0,0,840"
WOW4 := "c:\wow4\maximizer.exe --device=2 --margin=525,0,840,0"
WOW5 := "c:\wow5\maximizer.exe --device=1 --margin=0,0,0,0"
WOWPATH1 := "c:\wow1\"
WOWPATH2 := "c:\wow2\"
WOWPATH3 := "c:\wow3\"
WOWPATH4 := "c:\wow4\"
WOWPATH5 := "c:\wow5\"
ACCNAME1 := "Account1"
ACCNAME2 := "Account2"
ACCNAME3 := "Account3"
ACCNAME4 := "Account4"
ACCNAME5 := "Account5"
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW1%, %WOWPATH1%
Send %ACCNAME1%{Tab}%PWD%{Enter}
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW2%, %WOWPATH2%
Send %ACCNAME2%{Tab}%PWD%{Enter}
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW3%, %WOWPATH3%
Send %ACCNAME3%{Tab}%PWD%{Enter}
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW4%, %WOWPATH4%
Send %ACCNAME4%{Tab}%PWD%{Enter}
InputBox, PWD, Password Entry, Password, HIDE, 200, 100
RunWait, %WOW5%, %WOWPATH5%
Send %ACCNAME5%{Tab}%PWD%{Enter}
; get the list of WoW IDs
WinGet, WowWinId, List, World of Warcraft
return
}
Connect With Us