I'm trying to get a 5box going on Warmane. When I use the code I have that I use for a different client (Cata on Atlantis it works perfectly but When I try to do this with the Warmane Pandaria and BC clients here I have issues with the launch command finding the window "Program started.. Window could not be found". I auto launch and login with Alt Ctrl L.
Code:
// Requires HotkeyNet build 147 or higher.
//
// For more info, go to www.hotkeynet.com
//================================================================
//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run "D:\Program Files (x86)\World of Warcraft - Mists of Pandaria 5.4.8 Minimal\Wow.exe">
<RenameTargetWin %2%>
//-----------------------------------------------------------
// SUBROUTINE RESIZE AND POSITION.
//-----------------------------------------------------------
<Command ResizeAndPosition>
<SendPC Local>
<SendWinM %1%>
<SetWinSize 1920 1050>
<SetWinPos 1920 0>
<SetWinRegion 160 1620 300 200>
<SetWinRegion 560 1620 300 200>
<SetWinRegion 960 1620 300 200>
<SetWinRegion 1360 1620 300 200>
<SendWinM %2%>
<SetWinSize 960 500>
<SetWinPos 3840 0>
<SendWinM %3%>
<SetWinSize 960 500>
<SetWinPos 4800 0>
<SendWinM %4%>
<SetWinSize 960 500>
<SetWinPos 3840 500>
<SendWinM %5%>
<SetWinSize 960 500>
<SetWinPos 4800 500>
//-----------------------------------------------------------
// SUBROUTINE RESIZE AND POSITION STACK.
//-----------------------------------------------------------
<Command ResizeAndPositionStack>
<SendPC Local>
<SendWinM %1%>
<SetWinSize 1920 1050>
<SetWinPos 1920 0>
<SendWinM %2%>
<SetWinSize 1920 1050>
<SetWinPos 1920 0>
<SendWinM %3%>
<SetWinSize 1920 1050>
<SetWinPos 1920 0>
<SendWinM %4%>
<SetWinSize 1920 1050>
<SetWinPos 1920 0>
<SendWinM %5%>
<SetWinSize 1920 1050>
<SetWinPos 1920 0>
//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME WOW'S.
//-----------------------------------------------------------
<Hotkey ScrollLockOn Alt Ctrl L>
<LaunchAndRename Local WoW1>
<wait 12000>
<RemoveWinFrame>
<wait 12000>
<text user>
<wait 800>
<key Tab>
<text pass>
<wait 800>
<key enter>
<wait 800>
<LaunchAndRename Local WoW2>
<wait 12000>
<RemoveWinFrame>
<wait 12000>
<text user>
<wait 800>
<key Tab>
<text pass>
<wait 800>
<key enter>
<wait 800>
<LaunchAndRename Local WoW3>
<wait 12000>
<RemoveWinFrame>
<wait 12000>
<text user>
<wait 800>
<key Tab>
<text pass>
<wait 800>
<key enter>
<wait 800>
<LaunchAndRename Local WoW4>
<wait 12000>
<RemoveWinFrame>
<wait 12000>
<text user>
<wait 800>
<key Tab>
<text pass>
<wait 800>
<key enter>
<wait 800>
<LaunchAndRename Local WoW5>
<wait 12000>
<RemoveWinFrame>
<wait 12000>
<text user>
<wait 800>
<key Tab>
<text pass>
<wait 800>
<key enter>
//-----------------------------------------------------------
// DEFINE MAIL LABELS FOR SENDING KEY STROKES
//-----------------------------------------------------------
<Label w1 Local SendWinM WoW1>
<Label w2 Local SendWinM WoW2>
<Label w3 Local SendWinM WoW3>
<Label w4 Local SendWinM WoW4>
<Label w5 Local SendWinM WoW5>
//----------------------------------------------------------------
//Window Switching
//----------------------------------------------------------------
<Hotkey F1>
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
<Hotkey F2>
<ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
<Hotkey F3>
<ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
<Hotkey F4>
<ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
<Hotkey F5>
<ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>
//----------------------------------------------------------------
//Window Stack
//----------------------------------------------------------------
<Hotkey F12>
<ResizeAndPositionStack WoW1 WoW2 WoW3 WoW4 WoW5>
//-----------------------------------------------------------
// DEFINE HOTKEYS FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO BOTH WOWS. ADD MORE KEY COMBO'S IF YOU WANT.
//-----------------------------------------------------------
<Hotkey ScrollLockOn A-Z, 0-9, Numpad0-Numpad9, Separator, Tab, Esc, LShift, Space, Button4, Plus, Minus, Button4, except W, A, S, D, Q; ScrollLockOn Shift A-Z; ScrollLockOn Shift 0-9; ScrollLockOn Shift Minus, Plus; ScrollLockOn Ctrl 0-9, Minus, Plus>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
//-----------------------------------------------------------
// DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW'S.
// ADD MORE KEYS IF YOU WANT.
//-----------------------------------------------------------
<MovementHotkey ScrollLockOn up, down, left, right, s>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
//----------------------------------------------------------
//Mouse Movement
//----------------------------------------------------------
<UseKeyAsModifier 0>
<Hotkey 0 LButton, MButton, RButton, Button4, Button5>
<SendLabel w1, w2, w3, w4, w5>
<ClickMouse %TriggerMainKey% Both Window Scale NoRestore>
<RestoreMousePos>
//----------------------------------------------------------------
// DEFINE A MOVEMENT HOTKEY FOR FORMATION
//----------------------------------------------------------------
<MovementHotkey>
<If ActiveWinIs wow1>
<SendLabel w2> <Key Left>
<SendLabel w3> <Key Right>
<SendLabel w4> <Key Up>
<SendLabel w5> <Key Down>
<Else If ActiveWinIs wow2>
<SendLabel w1> <Key Left>
<SendLabel w3> <Key Right>
<SendLabel w4> <Key Up>
<SendLabel w5> <Key Down>
<Else If ActiveWinIs wow3>
<SendLabel w1> <Key Left>
<SendLabel w2> <Key Right>
<SendLabel w4> <Key Up>
<SendLabel w5> <Key Down>
<Else If ActiveWinIs wow4>
<SendLabel w1> <Key Left>
<SendLabel w2> <Key Right>
<SendLabel w3> <Key Up>
<SendLabel w5> <Key Down>
<Else If ActiveWinIs wow5>
<SendLabel w1> <Key Left>
<SendLabel w2> <Key Right>
<SendLabel w3> <Key Up>
<SendLabel w4> <Key Down>
//----------------------------------------------------------------
//Window Closing
//----------------------------------------------------------------
<HotKey ScrollLockOn Alt Ctrl C>
<TargetWin WoW5>
<CloseWin>
<TargetWin WoW4>
<CloseWin>
<TargetWin WoW3>
<CloseWin>
<TargetWin WoW2>
<CloseWin>
<TargetWin WoW1>
<CloseWin>
What Hotkey is outputting:
From this pc: <Run "D:\Program Files (x86)\World of Warcraft - Mists of Pandaria 5.4.8 Minimal\Wow.exe"><RenameTargetWin WoW1>
<Run "D:\Program Files (x86)\World of Warcraft - Mists of Pandaria 5.4.8 Minimal\Wow.exe"> completed: Program started.. Window could not be found
<RenameTargetWin WoW1> failed: No window is targeted.
<wait 12000> completed: 12000 milliseconds
<RemoveWinFrame> failed: No window is targeted.
<wait 12000> completed: 12000 milliseconds
<text user> failed: no window is targeted
<wait 800> completed: 800 milliseconds
<key Tab> failed: no window is targeted
<text pass> failed: no window is targeted
<wait 800> completed: 800 milliseconds
<key enter> failed: no window is targeted
<wait 800> completed: 800 milliseconds
I tried giving each command plenty of delay before the next since the client is slow launching, even said not responding for a bit but it doesn't matter if the window doesn't get defined and renamed. I've googled for a couple hours but can't find a similar issue that had a resolution That works for me. If anyone can help me figure this out I'd be very grateful.
Thank you in advance!