I looks like I might have to get around to putting it on the wiki, I've exceeded the 10k character limit 
I'll post a few more changes in here for now.
Broadcasting mouse clicks
Hotkeynet is also able to broadcast mouse clicks. I have mine setup so alt + left/middle/right mouse button will broadcast left/right/middle clicks. I use this mostly for healing using
Clique but it also works perfectly for mass clicking on NPC's and Quest text/reward selections. The only real requirement is that all your WoW windows are in the same ratio. My main window
is 1920x1200 and slave windows are generally 960x600 and it remains super accurate.
Code:
<Hotkey LAlt RButton>
<SendPC local>
<SendWinm "wow2">
<ClickMouse RButton>
<SendWinm "wow3">
<ClickMouse RButton>
<SendWinm "wow4">
<ClickMouse RButton>
<SendWinm "wow5">
<ClickMouse RButton>
Just copy and replace Rbutton with Lbutton or Mbutton for left/middle mouse clicks where required.
Using modifiers
To allow the use of modifiers on your broadcasting keys like 1 a bit more code is required. This is how mine is setup which will allow use of any single modifier (ctrl, alt or shift). Keep in mind that each modifier combination will need its own hidden macro key.
Code:
<command assistmod1>
<SendPC Local>
<Sendwin wow1>
<Key %1% %2%>
<SendPC 192.168.1.12>
<SendWin wow2>
<Key ctrl shift %3%>
<SendPC 192.168.1.2>
<SendWinM wow3>
<Key ctrl shift %3%>
<SendPC 192.168.1.2>
<SendWinM wow4>
<Key ctrl shift %3%>
<SendPC 192.168.1.2>
<SendWinM wow5>
<Key ctrl shift %3%>
<command assistmod2>
<SendPC 192.168.1.11>
<SendWin wow1>
<Key ctrl alt %3%>
<SendPC Local>
<SendWin wow2>
<Key %1% %2%>
<SendPC 192.168.1.2>
<SendWinM wow3>
<Key ctrl alt %3%>
<SendPC 192.168.1.2>
<SendWinM wow4>
<Key ctrl alt %3%>
<SendPC 192.168.1.2>
<SendWinM wow5>
<Key ctrl alt %3%>
<command assistmod3>
<SendPC 192.168.1.11>
<SendWin wow1>
<Key alt shift %3%>
<SendPC 192.168.1.12>
<SendWin wow2>
<Key alt shift %3%>
<SendPC Local>
<SendWin wow3>
<Key %1% %2%>
<SendPC Local>
<SendWinM wow4>
<Key alt shift %3%>
<SendPC Local>
<SendWinM wow5>
<Key alt shift %3%>
<command assistmod4>
<SendPC 192.168.1.11>
<SendWin wow1>
<Key ctrl alt shift %3%>
<SendPC 192.168.1.12>
<SendWin wow2>
<Key ctrl alt shift %3%>
<SendPC Local>
<SendWinM wow3>
<Key ctrl alt shift %3%>
<SendPC Local>
<SendWin wow4>
<Key %1% %2%>
<SendPC Local>
<SendWinM wow5>
<Key ctrl alt shift %3%>
<command assistmod5>
<SendPC 192.168.1.11>
<SendWin wow1>
<Key ctrl %3%>
<SendPC 192.168.1.12>
<SendWin wow2>
<Key ctrl %3%>
<SendPC Local>
<SendWinM wow3>
<Key ctrl %3%>
<SendPC Local>
<SendWinM wow4>
<Key ctrl %3%>
<SendPC Local>
<SendWin wow5>
<Key %1% %2%>
The keys are setup individually in the same way only using AssistModx instead.
Code:
<<Hotkey shift 1>
<If ActiveWinIs wow1> <Assistmod1 %trigger% g>
<Else If ActiveWinIs wow2> <Assistmod2 %trigger% g>
<Else If ActiveWinIs wow3> <Assistmod3 %trigger% g>
<Else If ActiveWinIs wow4> <Assistmod4 %trigger% g>
<Else If ActiveWinIs wow5> <Assistmod5 %trigger% g>
Movement keys and formations
Movement keys are handled a bit differently in Hotkeynet as they are required to be held down rather than a simple single press.
This is how I have setup my formation at the moment. It will send 1 character forward, 1 backward, 1 left and 1 right depending on who is the leader (leader remains stationary)
Code:
<hotkey r>
<If ActiveWinIs wow1>
<SendPC 192.168.1.12>
<SendWinM wow2>
<Keydown left>
<SendPC 192.168.1.2>
<SendWinM wow3>
<Keydown right>
<SendPC 192.168.1.2>
<SendWinM wow4>
<Keydown up>
<SendPC 192.168.1.2>
<SendWinM wow5>
<Keydown down>
<Else If ActiveWinIs wow2>
<SendPC 192.168.1.11>
<sendwinM wow1>
<Keydown left>
<SendPC 192.168.1.2>
<sendwinM wow3>
<Keydown right>
<SendPC 192.168.1.2>
<sendwinM wow4>
<Keydown up>
<SendPC 192.168.1.2>
<sendwinM wow5>
<Keydown down>
<Else If ActiveWinIs wow3>
<SendPC 192.168.1.11>
<sendwinM wow1>
<Keydown left>
<SendPC 192.168.1.12>
<sendwinm wow2>
<Keydown right>
<SendPC 192.168.1.2>
<sendwinm wow4>
<Keydown up>
<SendPC 192.168.1.2>
<sendwinm wow5>
<Keydown down>
<Else If ActiveWinIs wow4>
<SendPC 192.168.1.11>
<sendwinm wow1>
<Keydown left>
<SendPC 192.168.1.12>
<sendwinm wow2>
<Keydown right>
<SendPC 192.168.1.2>
<sendwinm wow3>
<Keydown up>
<SendPC 192.168.1.2>
<sendwinm wow5>
<Keydown down>
<Else If ActiveWinIs wow5>
<SendPC 192.168.1.11>
<sendwinm wow1>
<Keydown left>
<SendPC 192.168.1.12>
<sendwinm wow2>
<Keydown right>
<SendPC 192.168.1.2>
<sendwinm wow3>
<Keydown up>
<SendPC 192.168.1.2>
<sendwinm wow4>
<Keydown down>
<hotkeyup r>
<If ActiveWinIs wow1>
<SendPC 192.168.1.12>
<SendWinm wow2>
<Keyup left>
<SendPC 192.168.1.2>
<SendWinM wow3>
<Keyup right>
<SendPC 192.168.1.2>
<SendWinM wow4>
<Keyup up>
<SendPC 192.168.1.2>
<SendWinM wow5>
<Keyup down>
<Else If ActiveWinIs wow2>
<SendPC 192.168.1.11>
<sendwinm wow1>
<Keyup left>
<SendPC 192.168.1.2>
<sendwinm wow3>
<Keyup right>
<SendPC 192.168.1.2>
<sendwinm wow4>
<Keyup up>
<SendPC 192.168.1.2>
<sendwinm wow5>
<Keyup down>
<Else If ActiveWinIs wow3>
<SendPC 192.168.1.11>
<sendwinm wow1>
<Keyup left>
<SendPC 192.168.1.12>
<sendwinm wow2>
<Keyup right>
<SendPC 192.168.1.2>
<sendwinm wow4>
<Keyup up>
<SendPC 192.168.1.2>
<sendwinm wow5>
<Keyup down>
<Else If ActiveWinIs wow4>
<SendPC 192.168.1.11>
<sendwinm wow1>
<Keyup left>
<SendPC 192.168.1.12>
<sendwinm wow2>
<Keyup right>
<SendPC 192.168.1.2>
<sendwinm wow3>
<Keyup up>
<SendPC 192.168.1.2>
<sendwinm wow5>
<Keyup down>
<Else If ActiveWinIs wow5>
<SendPC 192.168.1.11>
<sendwinm wow1>
<Keyup left>
<SendPC 192.168.1.12>
<sendwinm wow2>
<Keyup right>
<SendPC 192.168.1.2>
<sendwinm wow3>
<Keyup up>
<SendPC 192.168.1.2>
<sendwinm wow4>
<Keyup down>
As you can see it really is very similar to all the other hotkeys just seperated into keydown and keyup. The other difference is I'm using specific keys rather than the 'macros' (%x%) since
I will only ever have one formation key and its unlikely to change.
The same principles could be used for functions like having all slave characters turn while a button is held or plenty of other formation types using walk etc
A lot of my code may be a bit bloated but hopefully it is enough of an example for people with more experience to improve on (not hard since I have no coding knowledge at all)
Connect With Us