The part following except is the part that defines the keys you use for movement on the active window.
Code:
//——————
// 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, Plus, Minus, F1-F12 except W, A, S, D, Q, E>
<SendLabel w1, w2>
<Key %Trigger%>
Those are the keys that only go to the window that is in the foreground, be it the master or a slave.
In this part you are defining a different set of keys called MovementHotkeys -
Code:
//————–
// DEFINE MOVEMENT KEYS THAT WILL GET SENT TO BOTH WOW’S.
// ADD MORE KEYS IF YOU WANT.
//—————
<MovementHotkey ScrollLockOn up, down, left, right>
<SendLabel w1, w2>
<Key %Trigger%>
You are defining keys that always get sent to all windows, no matter what window is active. It is exactly the same as sending your number keys for casting, except that movement is a sustained keypress. To elaborate - if you press 1 in game, the game receives a key 1, just once, no matter how long you hold the key down. Movement works differently. If you do the same with the W key in game, your character will continue to move forward until you release the W key. This is why they keys above are defined as MovementHotkey. they continue to send the keydown action to all of the game windows until you release the key.
So what these two snippets of code are doing is 1 - defining the keys that should be sent to all windows anytime you are broadcasting. In this case, A-Z, 0-9, Plus, Minus and function keys F1-F12, but it is only sending W, A, S, D, Q and E to the currently active {main} window. Section 2 is defining a different set of keys {the arrow keys} as movement keys that get sent to all windows at the same time so that you can use the arrows to move everyone at the same time.
Because the arrow keys weren't included in the first part of the code, which defines keys that should broadcast to every window, they don't need to be excluded from that section of code. BUT, because they are going to be used to move everyone at the same time, they need to be defined separately as a different type of key {MovementHotkey instead of just Hotkey}.
Connect With Us