Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Tab - Toggles hot keys on or off
- // Ctrl Alt A - Toggle active window tracking
- // Ctrl Alt L - Launch 5 instances of world of warcraft
- // Ctrl Alt X - Make the active window the main window
- // Ctrl Alt F1 - Make WoW1 the main window
- // Ctrl Alt F2 - Make WoW2 the main window
- // Ctrl Alt F3 - Make WoW3 the main window
- // Ctrl Alt F4 - Make WoW4 the main window
- // Ctrl Alt F5 - Make WoW5 the main window
- // Ctrl Alt D Arrange the windows in the default layout
- // Ctrl Alt 1 - relaunch WoW1
- // Ctrl Alt 2 - relaunch WoW2
- // Ctrl Alt 3 - relaunch WoW3
- // Ctrl Alt 4 - relaunch WoW4
- // Ctrl Alt 5 - relaunch WoW5
- // Keys 1 - 0 and the minus key are sent to all windows
- //-----------------------------------------------------------
- // Launch and rename world of warcraft
- //-----------------------------------------------------------
- <Command LaunchAndRename>
- <SendPC local>
- <Run "C:\Users\Public\Games\World of Warcraft\WoW.exe">
- <RenameTargetWin %1%>
- //-----------------------------------------------------------
- // Template: SetPos Command
- //
- // %1% - Window number. (1, 2, 3, 4 or 5)
- // %2% - Window name. Passed as a parameter value by callers.
- // %3% - Window X coordinate
- // %4% - Window Y coordinate
- // %5% - Window Width
- // %6% - Window Height
- //-----------------------------------------------------------
- <Template SetPos>
- <Command SetPos%1%>
- <SetVar Win%1% %2%>
- <TargetWin %2%>
- <SetWinPos %3% %4%>
- <SetWinSize %5% %6%>
- <UpdateWin>
- <EndTemplate>
- //-----------------------------------------------------------
- // ApplyTemplate: SetPos1 Command
- //-----------------------------------------------------------
- <ApplyTemplate SetPos 1 "%1%" "0" "0" "965" "795">
- //-----------------------------------------------------------
- // ApplyTemplate: SetPos2 Command
- //-----------------------------------------------------------
- <ApplyTemplate SetPos 2 "%1%" "0" "795" "965" "795">
- //-----------------------------------------------------------
- // ApplyTemplate: SetPos3 Command
- //-----------------------------------------------------------
- <ApplyTemplate SetPos 3 "%1%" "965" "0" "795" "660">
- //-----------------------------------------------------------
- // ApplyTemplate: SetPos4 Command
- //-----------------------------------------------------------
- <ApplyTemplate SetPos 4 "%1%" "1760" "0" "795" "660">
- //-----------------------------------------------------------
- // ApplyTemplate: SetPos5 Command
- //-----------------------------------------------------------
- <ApplyTemplate SetPos 5 "%1%" "965" "660" "1135" "930">
- //-----------------------------------------------------------
- // Default Window Layout
- //-----------------------------------------------------------
- <Command DefaultWindowLayout>
- // Win1 position
- <SetPos1 WoW1>
- // Win2 position
- <SetPos2 WoW3>
- // Win3 position
- <SetPos3 WoW5>
- // Win4 position
- <SetPos4 WoW4>
- // Win5 position
- <SetPos5 WoW2>
- //-----------------------------------------------------------
- // Template: Swap Command
- //
- // There are five window positions. Each window position has
- // a number assigned to it. This command swaps the positions
- // of two windows with one another.
- //
- // %1% - Window Position Number for window A
- // %2% - Window Position Number for window B
- // %3% - Window name of the window to be placed at position A
- // %4% - Window name of the window to be placed at position B
- //-----------------------------------------------------------
- <Template Swap>
- <Command Swap%1%And%2%>
- // Win%1% position
- <SetPos%1% %3%>
- // Win%2% position
- <SetPos%2% %4%>
- <EndTemplate>
- //-----------------------------------------------------------
- // ApplyTemplate: Swap1and5 Command
- //-----------------------------------------------------------
- <ApplyTemplate Swap 1 5 "%2%" "%1%">
- //-----------------------------------------------------------
- // ApplyTemplate: Swap2and5 Command
- //-----------------------------------------------------------
- <ApplyTemplate Swap 2 5 "%2%" "%1%">
- //-----------------------------------------------------------
- // ApplyTemplate: Swap3and5 Command
- //-----------------------------------------------------------
- <ApplyTemplate Swap 3 5 "%2%" "%1%">
- //-----------------------------------------------------------
- // ApplyTemplate: Swap4and5 Command
- //-----------------------------------------------------------
- <ApplyTemplate Swap 4 5 "%2%" "%1%">
- //---------------------------------------------
- // Display green HKN if HotkeyNet is forwarding keys
- // Display green AWT if active window tracking is enabled
- // Default to off
- //----------------------------------------------
- <Command AutoExec>
- // Initialise the HKN indicator
- <DoHotKey Hotkey NumLockOn Alt Ctrl Shift H>
- // Initialise the AWT indicator
- <DoHotKey Hotkey NumLockOn Alt Ctrl Shift A>
- // turn hotkeys off
- <DoHotKey Hotkey NumLockOn Alt Ctrl Shift T>
- <SetActiveWindowTracking Off>
- <SetVar ActOff true>
- <DefaultWindowLayout>
- //-----------------------------------------------------------
- // Initialise HKN window - NumLockOn Alt Ctrl Shift H
- //-----------------------------------------------------------
- <Hotkey NumLockOn Alt Ctrl Shift H>
- <If WinDoesNotExist HKN>
- <CreatePanel HKN 2500 1535 30 30>
- <TargetWin HKN>
- <CreateColoredButton ON 0 0 30 30 0x00FF00 0x0F0F0F ???>
- <AddButtonToPanel ON HKN>
- <SetButtonText ON HKN>
- <TargetWin HKN>
- <AlwaysOnTop on>
- <RemoveWinFrame>
- <UpdateWin>
- <EndIf>
- <SetButtonColors ON 0xfF0000 0xffFFff >
- <SetButtonText ON off>
- //-----------------------------------------------------------
- // Initialise AWT window - NumLockOn Alt Ctrl Shift A
- //-----------------------------------------------------------
- <Hotkey NumLockOn Alt Ctrl Shift A>
- <If WinDoesNotExist AWT>
- <CreatePanel AWT 2400 1535 30 30>
- <TargetWin AWT>
- <CreateColoredButton ACT 0 0 30 30 0x0000FF 0xFFFFFF ???>
- <AddButtonToPanel ACT AWT>
- <SetButtonText ACT AWT>
- <TargetWin AWT>
- <AlwaysOnTop on>
- <RemoveWinFrame>
- <UpdateWin>
- <endif>
- <SetButtonColors ACT 0xfF0000 0xffFFff >
- <SetButtonText ACT off>
- //-----------------------------------------------------------
- // Hot keys off - NumLockOn Alt Ctrl Shift T
- //-----------------------------------------------------------
- <Hotkey NumLockOn Alt Ctrl Shift T>
- <If HotkeysAreOn>
- <TurnHotkeysOff>
- <EndIf>
- //-----------------------------------------------------------
- // Template: Conditional1
- //
- // %1% - Alt Ctrl Shift %1% identifier for the conditions
- // %2% - Window name at position 5 in first condition
- // %3% - Window position number of window to swap with %2%
- // %4% - Window name at position %3%
- // %5% - Window name at position 5 in second condition
- //-----------------------------------------------------------
- <Template Conditional1>
- <Hotkey Alt Ctrl Shift %1%>
- <If Win5 Is WoW%2%>
- <Swap%3%And5 WoW%4% WoW%2%>
- <Else If Win5 Is WoW%5%>
- <Swap%3%And5 WoW%4% WoW%5%>
- <EndIf>
- <EndTemplate>
- //-----------------------------------------------------------
- // Template: Conditional2
- //
- // %1% - Alt Ctrl Shift %1% identifier for the conditions
- // %2% - Window name at position 5 in first condition
- // %3% - Window position number of window to swap with %2%
- // %4% - Window name at position %3%
- // %5% - Window name at position 5 in second condition
- // %6% - Hotkey to call if the other two conditions fail
- //-----------------------------------------------------------
- <Template Conditional2>
- <Hotkey Alt Ctrl Shift %1%>
- <If Win5 Is WoW%2%>
- <Swap%3%And5 WoW%4% WoW%2%>
- <Else If Win5 Is WoW%5%>
- <Swap%3%And5 WoW%4% WoW%5%>
- <Else>
- <DoHotkey Hotkey Alt Ctrl Shift %6%>
- <EndIf>
- <EndTemplate>
- //-----------------------------------------------------------
- // Template: Conditional3
- //
- // %1% - Alt Ctrl Shift %1% identifier for the conditions
- // %2% - Window name at position 3 or 4 in the conditional
- // %3% - Hotkey to call if first condition succeeds
- // %4% - Hotkey to call if second condition succeeds
- //-----------------------------------------------------------
- <Template Conditional3>
- <Hotkey Alt Ctrl Shift %1%>
- <If Win3 Is WoW%2%>
- <DoHotkey Hotkey Alt Ctrl Shift %3%>
- <Else If Win4 Is WoW%2%>
- <DoHotkey Hotkey Alt Ctrl Shift %4%>
- <EndIf>
- <EndTemplate>
- //-----------------------------------------------------------
- // Template: Conditional4
- //
- // %1% - Alt Ctrl Shift %1% identifier for the conditions
- // %2% - Window position to check in the condition statement
- // %3% - Window name at position %2% in the condition statement
- // %4% - Hotkey to call if the condition succeeds
- // %5% - Hotkey to call if the condition fails
- //-----------------------------------------------------------
- <Template Conditional4>
- <Hotkey Alt Ctrl Shift %1%>
- <If Win%2% Is WoW%3%>
- <DoHotkey Hotkey Alt Ctrl Shift %4%>
- <Else>
- <DoHotkey Hotkey Alt Ctrl Shift %5%>
- <EndIf>
- <EndTemplate>
- //----------------------------------------------- Win4 - WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1
- // If Win4 Is WoW1 (caller: Alt Ctrl Shift .)
- //
- // ----------------------------------------- Alt Ctrl Shift /
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 Oem2 4 4 1 5>
- //----------------------------------------------- Win4 - WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1
- // If Win4 Is WoW1 (caller: Alt Ctrl Shift N)
- //
- // ----------------------------------------- Alt Ctrl Shift .
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 Period 2 4 1 3 Oem2>
- //----------------------------------------------- Win3 - WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1
- // If Win3 Is WoW1 (caller: Alt Ctrl Shift M)
- //
- // ----------------------------------------- Alt Ctrl Shift ,
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 Comma 4 3 1 5>
- //----------------------------------------------- Win3 - WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1
- // If Win3 Is WoW1 (Alt Ctrl Shift N)
- //
- // ----------------------------------------- Alt Ctrl Shift M
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 M 2 3 1 3 Comma>
- //------------------------------------------------------ WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1 (caller: Alt Ctrl Shift C)
- //
- // ----------------------------------------- Alt Ctrl Shift N
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional3 N 1 M Period>
- //----------------------------------------------- Win2 - WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1
- // If Win2 Is WoW1 (caller: Alt Ctrl Shift V)
- //
- // ----------------------------------------- Alt Ctrl Shift B
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 B 4 2 1 5>
- //----------------------------------------------- Win2 - WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1
- // If Win2 Is WoW1 (caller: Alt Ctrl Shift C)
- //
- // ----------------------------------------- Alt Ctrl Shift V
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 V 2 2 1 3 B>
- //------------------------------------------------------ WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1 (caller: Alt Ctrl Shift Oem5)
- //
- // ----------------------------------------- Alt Ctrl Shift C
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 C 2 1 V N>
- //----------------------------------------------- Win1 - WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1
- // If Win1 Is WoW1 (caller: Alt Ctrl Shift Z)
- //
- // ----------------------------------------- Alt Ctrl Shift X
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 X 4 1 1 5>
- //----------------------------------------------- Win1 - WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1
- // If Win1 Is WoW1 (caller: Alt Ctrl Shift Oem5)
- //
- // ----------------------------------------- Alt Ctrl Shift Z
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 Z 2 1 1 3 X>
- //------------------------------------------------------ WoW1
- // Set WoW1 Main Window
- //------------------------------------------------------ WoW1
- // Alt Ctrl X
- // If MouseIsOverWindow WoW1 (caller: Alt Ctrl F6)
- //
- // ----------------------------------------- Alt Ctrl Shift \
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 "Oem5; Alt Ctrl F1" 1 1 Z C>
- //----------------------------------------------- Win4 - WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2
- // If Win4 Is WoW2 (caller: Alt Ctrl Shift ;)
- //
- // ----------------------------------------- Alt Ctrl Shift '
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 Oem3 4 4 2 5>
- //----------------------------------------------- Win4 - WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2
- // If Win4 Is WoW2 (caller: Alt Ctrl Shift J)
- //
- // ----------------------------------------- Alt Ctrl Shift ;
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 Oem1 1 4 2 3 Oem3>
- //----------------------------------------------- Win3 - WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2
- // If Win3 Is WoW2 (caller: Alt Ctrl Shift K)
- //
- // ----------------------------------------- Alt Ctrl Shift L
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 L 4 3 2 5>
- //----------------------------------------------- Win3 - WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2
- // If Win3 Is WoW2 (Alt Ctrl Shift J)
- //
- // ----------------------------------------- Alt Ctrl Shift K
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 K 1 3 2 3 L>
- //------------------------------------------------------ WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2 (caller: Alt Ctrl Shift F)
- //
- // ----------------------------------------- Alt Ctrl Shift J
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional3 J 2 K Oem1>
- //----------------------------------------------- Win2 - WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2
- // If Win2 Is WoW2 (caller: Alt Ctrl Shift G)
- //
- // ----------------------------------------- Alt Ctrl Shift H
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 H 4 2 2 5>
- //----------------------------------------------- Win2 - WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2
- // If Win2 Is WoW2 (caller: Alt Ctrl Shift F)
- //
- // ----------------------------------------- Alt Ctrl Shift G
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 G 1 2 2 3 H>
- //------------------------------------------------------ WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2 (caller: Alt Ctrl Shift A)
- //
- // ----------------------------------------- Alt Ctrl Shift F
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 F 2 2 G J>
- //----------------------------------------------- Win1 - WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2
- // If Win1 Is WoW2 (caller: Alt Ctrl Shift S)
- //
- // ----------------------------------------- Alt Ctrl Shift D
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 D 4 1 2 5>
- //----------------------------------------------- Win1 - WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2
- // If Win1 Is WoW2 (caller: Alt Ctrl Shift A)
- //
- // ----------------------------------------- Alt Ctrl Shift S
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 S 1 1 2 3 D>
- //------------------------------------------------------ WoW2
- // Set WoW2 Main Window
- //------------------------------------------------------ WoW2
- // Alt Ctrl X
- // If MouseIsOverWindow WoW2 (caller: Alt Ctrl F5)
- //
- // ----------------------------------------- Alt Ctrl Shift A
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 "A; Alt Ctrl F2" 1 2 S F>
- //----------------------------------------------- Win4 - WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3
- // If Win4 Is WoW3 (caller: Alt Ctrl Shift P)
- //
- // ----------------------------------------- Alt Ctrl Shift [
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 Oem4 4 4 3 5>
- //----------------------------------------------- Win4 - WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3
- // If Win4 Is WoW3 (caller: Alt Ctrl Shift U)
- //
- // ----------------------------------------- Alt Ctrl Shift P
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 P 1 4 3 2 Oem4>
- //----------------------------------------------- Win3 - WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3
- // If Win3 Is WoW3 (caller: Alt Ctrl Shift I)
- //
- // ----------------------------------------- Alt Ctrl Shift O
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 O 4 3 3 5>
- //----------------------------------------------- Win3 - WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3
- // If Win3 Is WoW3 (Alt Ctrl Shift U)
- //
- // ----------------------------------------- Alt Ctrl Shift I
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 I 1 3 3 2 O>
- //------------------------------------------------------ WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3 (caller: Alt Ctrl Shift R)
- //
- // ----------------------------------------- Alt Ctrl Shift U
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional3 U 3 I P>
- //----------------------------------------------- Win2 - WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3
- // If Win2 Is WoW3 (caller: Alt Ctrl Shift T)
- //
- // ----------------------------------------- Alt Ctrl Shift Y
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 Y 4 2 3 5>
- //----------------------------------------------- Win2 - WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3
- // If Win2 Is WoW3 (caller: Alt Ctrl Shift R)
- //
- // ----------------------------------------- Alt Ctrl Shift T
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 T 1 2 3 2 Y>
- //------------------------------------------------------ WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3 (caller: Alt Ctrl Shift Q)
- //
- // ----------------------------------------- Alt Ctrl Shift R
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 R 2 3 T U>
- //----------------------------------------------- Win1 - WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3
- // If Win1 Is WoW3 (caller: Alt Ctrl Shift W)
- //
- // ----------------------------------------- Alt Ctrl Shift E
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 E 4 1 3 5>
- //----------------------------------------------- Win1 - WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3
- // If Win1 Is WoW3 (caller: Alt Ctrl Shift Q)
- //
- // ----------------------------------------- Alt Ctrl Shift W
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 W 1 1 3 2 E>
- //------------------------------------------------------ WoW3
- // Set WoW3 Main Window
- //------------------------------------------------------ WoW3
- // Alt Ctrl X
- // If MouseIsOverWindow WoW3 (caller: Alt Ctrl F5)
- //
- // ----------------------------------------- Alt Ctrl Shift Q
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 "Q; Alt Ctrl F3" 1 3 W R>
- //----------------------------------------------- Win4 - WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4
- // If Win4 Is WoW4 (caller: Alt Ctrl Shift -)
- //
- // ----------------------------------------- Alt Ctrl Shift +
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 plus 3 4 4 5>
- //----------------------------------------------- Win4 - WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4
- // If Win4 Is WoW4 (caller: Alt Ctrl Shift 3)
- //
- // ----------------------------------------- Alt Ctrl Shift -
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 minus 1 4 4 2 plus>
- //----------------------------------------------- Win3 - WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4
- // If Win3 Is WoW4 (caller: Alt Ctrl Shift 9)
- //
- // ----------------------------------------- Alt Ctrl Shift 0
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 0 3 3 4 5>
- //----------------------------------------------- Win3 - WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4
- // If Win3 Is WoW4 (Alt Ctrl Shift 3)
- //
- // ----------------------------------------- Alt Ctrl Shift 9
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 9 1 3 4 2 0>
- //----------------------------------------------- Win2 - WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4
- // If Win2 Is WoW5 (caller: Alt Ctrl Shift 2)
- //
- // ----------------------------------------- Alt Ctrl Shift 8
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 8 3 2 4 5>
- //----------------------------------------------- Win4 - WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5
- // If Win4 Is WoW5 (caller: Alt Ctrl Shift 6)
- //
- // ----------------------------------------- Alt Ctrl Shift 7
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 7 3 4 5 4>
- //----------------------------------------------- Win4 - WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5
- // If Win4 Is WoW5 (caller: Alt Ctrl Shift F4)
- //
- // ----------------------------------------- Alt Ctrl Shift 6
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 6 1 4 5 2 7>
- //----------------------------------------------- Win3 - WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5
- // If Win3 Is WoW5 (caller: Alt Ctrl Shift 4)
- //
- // ----------------------------------------- Alt Ctrl Shift 5
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 5 3 3 5 4>
- //----------------------------------------------- Win3 - WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5
- // If Win3 Is WoW5 (Alt Ctrl Shift F4)
- //
- // ----------------------------------------- Alt Ctrl Shift 4
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 4 1 3 5 2 5>
- //------------------------------------------------------ WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4 (caller: Alt Ctrl Shift F12)
- //
- // ----------------------------------------- Alt Ctrl Shift 3
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional3 3 4 9 minus>
- //----------------------------------------------- Win2 - WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4
- // If Win2 Is WoW4 (Alt Ctrl Shift F12)
- //
- // ----------------------------------------- Alt Ctrl Shift 2
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 2 1 2 4 2 8>
- //----------------------------------------------- Win1 - WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4
- // If Win1 Is WoW4 (caller: Alt Ctrl Shift F11)
- //
- // ----------------------------------------- Alt Ctrl Shift 1
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 1 3 1 4 5>
- //------------------------------------------------------ WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4 (caller: Alt Ctrl Shift F10)
- //
- // --------------------------------------- Alt Ctrl Shift F12
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 F12 2 4 2 3>
- //----------------------------------------------- Win1 - WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4
- // If Win1 Is WoW4 (caller: Alt Ctrl Shift F10)
- //
- // --------------------------------------- Alt Ctrl Shift F11
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 F11 1 1 4 2 1>
- //------------------------------------------------------ WoW4
- // Set as the WoW4 Main Window
- //------------------------------------------------------ WoW4
- // Alt Ctrl X
- // If MouseIsOverWindow WoW4 (caller: Alt Ctrl X)
- //
- // --------------------------------------- Alt Ctrl Shift F10
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 "F10; Alt Ctrl F4" 1 4 F11 F12>
- //------------------------------------------------------ WoW5
- // Set WoW5 Main Window
- //------------------------------------------------------ WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5 (caller: Alt Ctrl X)
- //
- // ---------------------------------------- Alt Ctrl Shift F9
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 "F9; Alt Ctrl F5" 1 5 F1 F3>
- //----------------------------------------------- Win2 - WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5
- // If Win2 Is WoW5 (caller: Alt Ctrl Shift F7)
- //
- // ---------------------------------------- Alt Ctrl Shift F8
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 F8 3 2 5 4>
- //----------------------------------------------- Win2 - WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5
- // If Win2 Is WoW5 (caller: Alt Ctrl Shift F3)
- //
- // ---------------------------------------- Alt Ctrl Shift F7
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 F7 1 2 5 2 F8>
- //-----------------------------------------------------------
- // Alt Ctrl X (caller: Alt Ctrl Shift F5)
- //
- // ---------------------------------------- Alt Ctrl Shift F6
- //
- //-----------------------------------------------------------
- <Hotkey Alt Ctrl Shift F6>
- <If MouseIsOverWindow WoW1>
- <DoHotkey Hotkey Alt Ctrl Shift Oem5>
- <EndIf>
- //-----------------------------------------------------------
- // Alt Ctrl X (caller: Alt Ctrl X)
- //
- // ---------------------------------------- Alt Ctrl Shift F5
- //
- //-----------------------------------------------------------
- <Hotkey Alt Ctrl Shift F5>
- <If MouseIsOverWindow WoW3>
- <DoHotkey Hotkey Alt Ctrl Shift Q>
- <Else If MouseIsOverWindow WoW2>
- <DoHotkey Hotkey Alt Ctrl Shift A>
- <Else>
- <DoHotkey Hotkey Alt Ctrl Shift F6>
- <EndIf>
- //------------------------------------------------------ WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5 (caller: Alt Ctrl Shift F3)
- //
- // ---------------------------------------- Alt Ctrl Shift F4
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional3 F4 5 4 6>
- //------------------------------------------------------ WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5 (caller: Alt Ctrl Shift F9)
- //
- // ---------------------------------------- Alt Ctrl Shift F3
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional4 F3 2 5 F7 F4>
- //----------------------------------------------- Win1 - WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5
- // If Win1 Is WoW5 (caller: Alt Ctrl Shift F1)
- //
- // ---------------------------------------- Alt Ctrl Shift F2
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional1 F2 3 1 5 4>
- //----------------------------------------------- Win1 - WoW5
- // Alt Ctrl X
- // If MouseIsOverWindow WoW5
- // If Win1 Is WoW5 (caller: Alt Ctrl Shift F9)
- //
- // ---------------------------------------- Alt Ctrl Shift F1
- //
- //-----------------------------------------------------------
- <ApplyTemplate Conditional2 F1 1 1 5 2 F2>
- //-----------------------------------------------------------
- // Active Window to Main window (Win5)
- //
- // ----------------------------------------------- Alt Ctrl X
- //
- //-----------------------------------------------------------
- <Hotkey Alt Ctrl X>
- <DisplayVars>
- <If MouseIsOverWindow WoW5>
- // make WoW5 the main window
- <DoHotkey Hotkey Alt Ctrl Shift F9>
- <Else If MouseIsOverWindow WoW4>
- // make WoW4 the main window
- <DoHotkey Hotkey Alt Ctrl Shift F10>
- <Else>
- //make WoW3, WoW2 or WoW1 the main window
- <DoHotkey Hotkey Alt Ctrl Shift F5>
- <EndIf>
- //-----------------------------------------------------------
- // 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>
- //-----------------------------------------------------------
- // HotKey: Launch and rename all - Alt Ctrl L
- //-----------------------------------------------------------
- <Hotkey Alt Ctrl L>
- <SetTaskbarAutoHide On>
- <LaunchAndRename WoW1>
- <LaunchAndRename WoW2>
- <LaunchAndRename WoW3>
- <LaunchAndRename WoW4>
- <LaunchAndRename WoW5>
- <DefaultWindowLayout>
- //-----------------------------------------------------------
- // Template: Launch and rename individual window HotKey
- //
- // %1% - Window number and Alt Ctrl number
- //-----------------------------------------------------------
- <Template Launch>
- <Hotkey Alt Ctrl %1%>
- <If WinDoesNotExist WoW%1%>
- <LaunchAndRename WoW%1%>
- <DefaultWindowLayout>
- <EndIf>
- <EndTemplate>
- //-----------------------------------------------------------
- // HotKey: Launch and rename WoW 1 - Alt Ctrl 1
- //-----------------------------------------------------------
- <ApplyTemplate Launch 1>
- //-----------------------------------------------------------
- // HotKey: Launch and rename WoW 2 - Alt Ctrl 2
- //-----------------------------------------------------------
- <ApplyTemplate Launch 2>
- //-----------------------------------------------------------
- // HotKey: Launch and rename WoW 3 - Alt Ctrl 3
- //-----------------------------------------------------------
- <ApplyTemplate Launch 3>
- //-----------------------------------------------------------
- // HotKey: Launch and rename WoW 4 - Alt Ctrl 4
- //-----------------------------------------------------------
- <ApplyTemplate Launch 4>
- //-----------------------------------------------------------
- // HotKey: Launch and rename WoW 5 - Alt Ctrl 5
- //-----------------------------------------------------------
- <ApplyTemplate Launch 5>
- //---------------------------------------------
- // Hotkey: Disable hot keys - Tab
- //----------------------------------------------
- <Hotkey Tab>
- <sendpc local>
- <If HotkeysAreOff>
- <TurnHotkeysOn>
- <SetButtonColors ON 0x00FF00 0x0F0F0F>
- <SetButtonText ON HKN>
- <Else>
- <TurnHotkeysOff>
- <SetButtonColors ON 0xfF0000 0xffFFff >
- <SetButtonText ON off>
- <EndIf>
- //---------------------------------------------
- // Hotkey: Toggle active window tracking - Ctrl Alt A
- //----------------------------------------------
- <Hotkey Alt Ctrl A>
- <Toggle>
- <sendpc local>
- <SetButtonColors ACT 0x00FF00 0x0F0F0F>
- <SetButtonText ACT AWT>
- <SetActiveWindowTrackingDelay 0>
- <SetActiveWindowTracking On>
- <Toggle>
- <sendpc local>
- <SetButtonColors ACT 0xfF0000 0xffFFff >
- <SetButtonText ACT off>
- <SetActiveWindowTracking Off>
- //-----------------------------------------------------------
- // Hotkey: Default Layout - Alt Ctrl D
- //-----------------------------------------------------------
- <Hotkey Alt Ctrl D>
- <DefaultWindowLayout>
- //-----------------------------------------------------------
- // Hot keys for key combinations to be sent to WoW windows
- //-----------------------------------------------------------
- <KeyList TheKeyList 0-9, Plus, Minus>
- // send the key list to all windows
- <Hotkey TheKeyList>
- <If ActiveWinIs WoW1>
- <SendLabel w2, w3, w4, w5>
- <Key ctrl %Trigger%>
- <SendLabel w1>
- <Key %Trigger%>
- <Else If ActiveWinIs WoW2>
- <SendLabel w1, w3, w4, w5>
- <Key alt %Trigger%>
- <SendLabel w2>
- <Key %Trigger%>
- <Else>
- <DoHotKey Hotkey NumLockOn Alt Ctrl Shift %Trigger%>
- <EndIf>
- <Hotkey NumLockOn Alt Ctrl Shift TheKeyList>
- <If ActiveWinIs WoW3>
- <SendLabel w1, w2, w4, w5>
- <Key shift %TriggerMainKey%>
- <SendLabel w3>
- <Key %TriggerMainKey%>
- <Else If ActiveWinIs WoW4>
- <SendLabel w1, w2, w3, w5>
- <Key ctrl alt %TriggerMainKey%>
- <SendLabel w4>
- <Key %TriggerMainKey%>
- <Else>
- <SendLabel w1, w2, w3, w4>
- <Key ctrl shift %TriggerMainKey%>
- <SendLabel w5>
- <Key %TriggerMainKey%>
- <EndIf>
- //-----------------------------------------------------------
- // Hotkey: Oem8 Follow the active window
- //-----------------------------------------------------------
- <Hotkey Oem8>
- <If ActiveWinIs WoW1>
- <SendLabel w2, w3, w4, w5>
- <Key ctrl Oem6>
- <Else If ActiveWinIs WoW2>
- <SendLabel w1, w3, w4, w5>
- <Key alt Oem6>
- <Else>
- <DoHotKey Hotkey NumLockOn Alt Ctrl Shift Oem8>
- <EndIf>
- <Hotkey NumLockOn Alt Ctrl Shift Oem8>
- <If ActiveWinIs WoW3>
- <SendLabel w1, w2, w4, w5>
- <Key shift Oem6>
- <Else If ActiveWinIs WoW4>
- <SendLabel w1, w2, w3, w5>
- <Key ctrl alt Oem6>
- <Else>
- <SendLabel w1, w2, w3, w4>
- <Key ctrl shift Oem6>
- <EndIf>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement