;launch 5 WoWs if WoW not yet running
^+!l::
ifWinNotExist, World of Warcraft
{
WOW2 := "D:\World of Warcraft\maximizer.exe --device=2 --margin=0,525,840,0"
WOW3 := "D:\World of Warcraft\maximizer.exe --device=2 --margin=525,0,0,840"
WOW4 := "D:\World of Warcraft\maximizer.exe --device=2 --margin=525,0,840,0"
WOW5 := "D:\World of Warcraft\maximizer.exe --device=1 --margin=0,0,0,0"
WOWPATH2 := "D:\World of Warcraft\"
WOWPATH3 := "D:\World of Warcraft\"
WOWPATH4 := "D:\World of Warcraft\"
WOWPATH5 := "D:\World of Warcraft\"
ACCNAME2 := "ac1"
ACCNAME3 := "ac2"
ACCNAME4 := "ac3"
ACCNAME5 := "ac4"
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