Code:
//-----------------------------------------------------------
// BROADCAST MOUSE CLICKS. HOLD DOWN CTRL WHEN YOU
// WANT TO BROADCAST.
//-----------------------------------------------------------
<KeyList MouseList RButton>
<Hotkey Ctrl MouseList> //control and the keys listed above will repeat mouse clicks
<SendLabel w1, w2, w3>
<Clickmouse %TriggerMainKey%>
<Hotkey MButton> //using the left mouse button to broadcast left mouseclicks gets really annoying so I use the middle click to send left to all clients
<SendLabel w1, w2, w3>
<Clickmouse LButton>
//----------------------------------------------------------
// MOUSEOVER BROADCASTING
//-----------------------------------------------------------
//this section is commented out I do not use mouseover broadcasting but you can see how it works
//Cleanse Decurse
//<Hotkey 2>
//<Cancel>
//<If MouseIsOverWindowRect WoW1 5 625 145 225>
// <DoHotkey Hotkey OemAX 2>
//<Else If MouseIsOverWindowRect WoW2 5 670 145 225>
// <DoHotkey Hotkey OemAX 2>
//<Else If MouseIsOverWindowRect WoW3 5 720 145 225>
// <DoHotkey Hotkey OemAX 2>
//<Else>
// <DoHotkey Hotkey 4>
//-----------------------------------------------------------
// FTL TEMPLATES. Do not mess with these templates just edit the lines below that are labelled
//-----------------------------------------------------------
//Added FTL Templates
// %1% : Master Key
// %2% : Slave Key
// %3% : Modifier
// %4% : SlavesToSend
<Template SendMasterAndSlave>
<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%>
<PassThrough>
<ApplyTemplate SendLeaderless "%Trigger%" "%2%" "rctrl rshift" WoW1 "w2,w3">
<ApplyTemplate SendLeaderless "%Trigger%" "%2%" "rctrl ralt" WoW2 "w1,w3">
<ApplyTemplate SendLeaderless "%Trigger%" "%2%" "ralt rshift" WoW3 "w1,w2">
<EndTemplate>
//--------------------------------------------------------------
//AOE Template
//--------------------------------------------------------------
// %1% : Trigger Key
// %2% : Trigger Window eg WoW1
// %3% : Trigger rectangle top left corner X,Y eg "740 425"
// %4% : Trigger rectangle width,height eg "200 200"
// %5% : Labels casting AoE eg "w2, w3, w4"
// %6% : Labels NOT casting AoE eg "w1, w5"
// %7% : AoE Keybind
<Template AoECast>
<Hotkey %1%>
<If MouseIsOverWindowRect %2% %3% %4%>
<SendLabel %5%>
<Key %7%>
<SendLabel %6%>
<Key %Trigger%>
<Else>
<SendLabel %5%>
<Key %1%>
<SendLabel %6%>
<Key %1%>
<Hotkeyup %1%>
<If MouseIsOverWindowRect %2% %3% %4%>
<SendLabel %5%>
<Clickmouse LButton>
<RestoreMousePos>
<SendLabel %6%>
<Key %1%>
<Else>
<SendLabel %5%>
<Key %1%>
<SendLabel %6%>
<Key %1%>
<EndTemplate>
//----------------------------------------------------------------
// DEFINE A MOVEMENT HOTKEY FOR FORMATION //Formations will spread characters into different patterns
//----------------------------------------------------------------
<MovementHotkey Q>
<If ActiveWinIs WoW1>
<SendLabel w2> <Key A>
<SendLabel w3> <Key D>
<Else If ActiveWinIs WoW2>
<SendLabel w1> <Key A>
<SendLabel w3> <Key D>
<Else If ActiveWinIs WoW3>
<SendLabel w1> <Key A>
<SendLabel w2> <Key D>
<MovementHotkey ScrollLockOff W>
<Toggle>
<If ActiveWinIs WoW1>
<SendLabel w2> <Key A>
<SendLabel w3> <Key D>
<Else If ActiveWinIs WoW2>
<SendLabel w1> <Key A>
<SendLabel w3> <Key D>
<Else If ActiveWinIs WoW3>
<SendLabel w1> <Key A>
<SendLabel w2> <Key D>
<MovementHotkey Scrolllockon W>
<Toggle>
<If ActiveWinIs WoW1>
<SendLabel w2> <Key A>
<SendLabel w3> <Key D>
<Else If ActiveWinIs WoW2>
<SendLabel w1> <Key A>
<SendLabel w3> <Key D>
<Else If ActiveWinIs WoW3>
<SendLabel w1> <Key A>
<SendLabel w2> <Key D>
//--------------------------------------------------------------
//Round-Robin Keys Each key in the list at the top will be sent one at a time to each client
//--------------------------------------------------------------
<Hotkey RRList>
<toggle>
<SendLabel w1>
<DoHotkey Hotkey Oem4>
<Key %Trigger%>
<toggle>
<SendLabel w2>
<DoHotkey Hotkey Oem4>
<Key %Trigger%>
<toggle>
<SendLabel w3>
<DoHotkey Hotkey Oem4>
<Key %Trigger%>
//--------------------------------------------------------------
//Buttons //this creates the little buttons you click to launch WoW
//--------------------------------------------------------------
//%1% Name of Button
//%2% Button x y
//%3% Picture Path
//%4% Button Width Height
//%5% Hotkey
<Template ButtonCreate>
<SendPC %6%>
<CreatePictureButton Button_%1% %2% "%3%">
<TargetWin Button_%1%>
<AlwaysOnTop On>
<SetWinSize %4%>
<SetButtonHotkey Button_%1% Hotkey %5%>
<EndTemplate>
<HotKey Lalt RShift H>
<SendLabel w1,w2,w3>
<Key PgDn>
<Template HideAButton>
<SendPC %2%>
<TargetWin Button_%1%>
<HideWin>
<EndTemplate>
//----------------------------------------------------------------
//Definition of FTL keys This was the spot you could mess with when you were told not to mess with the templates
//----------------------------------------------------------------
<ApplyTemplate FTL FTLList %Trigger% "w1">
<ApplyTemplate FTL "lctrl FTLList" %Trigger% "Null">
<ApplyTemplate FTL "ScrollLockOff 1" Numpad2 "Null">
<ApplyTemplate FTL "ScrollLockOff 2" Numpad3 "Null">
<ApplyTemplate FTL "ScrollLockOff 3" Numpad4 "Null">
<ApplyTemplate FTL "ScrollLockOff 4" Numpad5 "Null">
<ApplyTemplate FTL "ScrollLockOff 5" Numpad6 "Null">
<ApplyTemplate FTL "ScrollLockOff 6" Numpad7 "Null">
<ApplyTemplate FTL "ScrollLockOff 7" Numpad8 "Null">
<ApplyTemplate FTL "ScrollLockOff 8" Numpad9 "Null">
//--------------------------------------------------------------
//AutoExec Messing with this will require you to figure out what went wrong and why your handy launch button no longer shows itself
//--------------------------------------------------------------
<Command Loader>
<SendPC Local>
<LoadScript C:\Users\WoW\Desktop\HKNLoader.txt>
<Command AutoExec>
<CreateColoredButton Reload 100 100 500 100 0x0C0C0C 0xffffff Shaman>
<CreateColoredButton Loader 100 100 500 100 0x0c0c0c 0xffffff Loader>
<CreatePanel Panel_Main 1500 750 520 320>
<AddButtonToPanel Reload Panel_Main>
<AddButtonToPanel Loader Panel_Main>
<SetButtonCommand Reload Shaman>
<SetButtonCommand Loader Loader>
<SetPanelLayout Panel_Main 1 5 100 50>
<SetPanelStyle Panel_Main Transparent>
The above is a fully functional script made using copy and paste from the links sent to you by Khatovar, I had to learn nothing, and spent approximately 20mins commenting this for you. Like you I have work and a limited amount of play time, so as you can't be bothered to learn I can not be bothered to help you with the above script. Each section is commented in the hope that your frustration will lead to curiosity, and as such you will be compelled to put in the work to make everything work for you. This will work for 3 clients if you wish to add a couple or get rid of one it will require editting.
If you reach a sticking point, write down what happens and what you expected to happen, and what it is you were doing at the time, this is the only way I will help, simply because this means you have tried to help yourself and don't require a handout.
Good Luck,
Shawn
Connect With Us