To make it less "clunky"
Code:
//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC Local>
<Run "Path to Wow.exe">
<wait 1000>
<RenameWin "World of Warcraft" PreDummyBox>
<wait 1000>
<RenameWin "World of Warcraft" %1%>
<wait 1000>
//-----------------------------------------------------------
// RESIZE AND REPOSITION WINDOWS
//-----------------------------------------------------------
<Command ResizeAndPosition>
<SendWinM %1%>
<SetwinRect -1920 0 1600 900>
<SendWinM %2%>
<SetwinRect -1920 900 320 180>
<SendWinM %3%>
<SetwinRect -1600 900 320 180>
<SendWinM %4%>
<SetwinRect -1280 900 320 180>
<SendWinM %5%>
<SetwinRect -960 900 320 180>
<SendWinM %6%>
<SetwinRect -640 900 320 180>
<SendWinM %7%>
<SetwinRect -320 900 320 180>
<SendWinM %8%>
<SetwinRect -320 720 320 180>
//-----------------------------------------------------------
// HOTKEY TO RESIZE AND REPOSITION WINDOWS
//-----------------------------------------------------------
//Client 1
<Hotkey ScrollLockOn Alt F1>
<If WinDoesNotExist WoW1>
<LaunchAndRename WoW1>
<RemoveWinFrame>
<EndIf>
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5 WoW6 WoW7 WoW8>
//Client 2
<Hotkey ScrollLockOn Alt F2>
<If WinDoesNotExist WoW2>
<LaunchAndRename WoW2>
<RemoveWinFrame>
<EndIf>
<ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5 WoW6 WoW7 WoW8>
//Client 3
<Hotkey ScrollLockOn Alt F3>
<If WinDoesNotExist WoW3>
<LaunchAndRename WoW3>
<RemoveWinFrame>
<EndIf>
<ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5 WoW6 WoW7 WoW8>
//Client 4
<Hotkey ScrollLockOn Alt F4>
<If WinDoesNotExist WoW4>
<LaunchAndRename WoW4>
<RemoveWinFrame>
<EndIf>
<ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5 WoW6 WoW7 WoW8>
//Client 5
<Hotkey ScrollLockOn Alt F5>
<If WinDoesNotExist WoW5>
<LaunchAndRename WoW5>
<RemoveWinFrame>
<EndIf>
<ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1 WoW6 WoW7 WoW8>
//Client 6
<Hotkey ScrollLockOn Alt F6>
<If WinDoesNotExist WoW6>
<LaunchAndRename WoW6>
<RemoveWinFrame>
<EndIf>
<ResizeAndPosition WoW6 WoW2 WoW3 WoW4 WoW5 WoW1 WoW7 WoW8>
//Client 7
<Hotkey ScrollLockOn Alt F7>
<If WinDoesNotExist WoW7>
<LaunchAndRename WoW7>
<RemoveWinFrame>
<EndIf>
<ResizeAndPosition WoW7 WoW2 WoW3 WoW4 WoW5 WoW6 WoW1 WoW8>
//Client 8
<Hotkey ScrollLockOn Alt F8>
<If WinDoesNotExist WoW8>
<LaunchAndRename WoW8>
<RemoveWinFrame>
<EndIf>
<ResizeAndPosition WoW8 WoW2 WoW3 WoW4 WoW5 WoW6 WoW7 WoW1>
This includes a run command that need to be edited to match the installation path for wow client. It also includes an IF statment that check if client window exists, if not it will launch a new client and rename the window.
This is how I solved it, let me know if you have questions.
Helpful tool for window layout config: http://www.slashfocus.ru/hotkeynet/w...layout-builder
Connect With Us