Code:
//-----------------------------------------------------------
// SUBROUTINE TO Position Windows.
//-----------------------------------------------------------
<Command ResizeAndPosition>
<SendPC Local>
<SendWin %1%>
<SetWinRect 384 0 1536 1200>
<SendWinM %2%>
<SetWinRect 0 0 384 300>
<SendWinM %3%>
<SetWinRect 0 300 384 300>
<SendWinM %4%>
<SetWinRect 0 600 384 300>
<SendWinM %5%>
<SetWinRect 0 900 384 300>
//-----------------------------------------------------------
// SUBROUTINE TO LAUNCH AND RENAME A COPY OF WOW.
//-----------------------------------------------------------
<Command LaunchAndRename>
<SendPC %1%>
<Run %2%>
<RenameTargetWin %3%>
<RemoveWinFrame>
<SetAffinity all> //%2%
//-----------------------------------------------------------
// HOTKEY TO LAUNCH AND RENAME YOUR WOW WINDOWS. all = affinity
//-----------------------------------------------------------
<Hotkey Alt Ctrl L>
<LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft 1\wow.exe" WoW1 all>
<LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft 2\wow.exe" WoW2 all>
<LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft 3\wow.exe" WoW3 all>
<LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft 4\wow.exe" WoW4 all>
<LaunchAndRename Local "C:\Users\Public\Games\World of Warcraft 5\wow.exe" WoW5 all>
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
//-----------------------------------------------------------
// HOTKEY TOGGLE
//-----------------------------------------------------------
<hotkey pause>
<sendpc local>
<ToggleHotkeys>
//-----------------------------------------------------------
// 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 F8>
<ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
<SendLabel w1, w2, w3, w4, w5>
<TargetWin WoW1>
<Key F8>
<Hotkey F9>
<ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
<SendLabel w1, w2, w3, w4, w5>
<TargetWin WoW2>
<Key F9>
<Hotkey F10>
<ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
<SendLabel w1, w2, w3, w4, w5>
<TargetWin WoW3>
<Key F10>
<Hotkey F11>
<ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
<SendLabel w1, w2, w3, w4, w5>
<TargetWin WoW4>
<Key F11>
<Hotkey F12>
<ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>
<SendLabel w1, w2, w3, w4, w5>
<TargetWin WoW5>
<Key F12>
//-----------------------------------------------------------
// DEFINE KEYLIST FOR ALL KEY COMBINATIONS THAT WILL GET
// SENT TO ALL WINDOWS.
//-----------------------------------------------------------
<KeyList MyList AllMainKeys except Oem3, PgDn, PgUp, Up, Down, Left, Right, 1-9, F, G, Pause, a, s, d, w, tab, m, F8-F12>
//-----------------------------------------------------------
// DEFINE HOTKEY
//-----------------------------------------------------------
<Hotkey MyList; Shift MyList; Alt MyList; Ctrl MyList>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
//-----------------------------------------------------------
// MOVEMENT KEYS
//-----------------------------------------------------------
<MovementHotkey Up, Down, Left, Right>
<SendLabel w1, w2, w3, w4, w5>
<Key %Trigger%>
//-----------------------------------------------------------
// BROADCAST MOUSE CLICKS.
//-----------------------------------------------------------
<UseKeyAsModifier Oem3>
<Hotkey Oem3 LButton, MButton, RButton, Button4, Button5>
<SendLabel w1, w2, w3, w4, w5>
<ClickMouse %TriggerMainKey%>
//-----------------------------------------------------------
// FTL Templates
// %1% : Master Key
// %2% : Slave Key
// %3% : Modifier
// %4% : SlavesToSend
//-----------------------------------------------------------
<Template SendMasterAndSlave>
<SendFocusWin>
<Key %1%>
<Sendlabel %4%>
<Key %3% %2%>
<EndTemplate>
//-----------------------------------------------------------
// %1% : master key
// %2% : slave key
// %3% : modifier
// %4% : Active window
// %5% : Slave Windows
//-----------------------------------------------------------
<Template SendLeaderless>
<If ActiveWinIs %4%>
<ApplyTemplate SendMasterAndSlave "%1%" "%2%" "%3%" "%5%">
<EndTemplate>
//------------------------------------------------------------
// %1% : master-key
// %2% : slave-key
//------------------------------------------------------------
<Template FTL>
<Hotkey %1%>
<ApplyTemplate SendLeaderless "%1%" "%2%" "ralt" WoW1 "w2,w3,w4,w5">
<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl" WoW2 "w1,w3,w4,w5">
<ApplyTemplate SendLeaderless "%1%" "%2%" "rshift" WoW3 "w1,w2,w4,w5">
<ApplyTemplate SendLeaderless "%1%" "%2%" "ralt rshift" WoW4 "w1,w2,w3,w5">
<ApplyTemplate SendLeaderless "%1%" "%2%" "rctrl ralt" WoW5 "w1,w2,w3,w4">
<EndTemplate>
//------------------------------------------------------------
//Definition of FTL keys
//------------------------------------------------------------
<ApplyTemplate FTL 9 9>
<ApplyTemplate FTL 1 1>
<ApplyTemplate FTL 2 2>
<ApplyTemplate FTL 3 3>
<ApplyTemplate FTL 4 4>
<ApplyTemplate FTL 5 5>
<ApplyTemplate FTL 6 6>
<ApplyTemplate FTL 7 7>
<ApplyTemplate FTL 8 8>
<ApplyTemplate FTL F F>
<ApplyTemplate FTL G G>
Connect With Us