Hi!
There is a command in HKN for movementkey, named <MovementHotkey> .
With this you could do the task described above with:
Code:
<Label w1 Local SendWinM wow1>
<Label w2 Local SendWinM wow2>
<Label focus Local SendFocusWin>
<MovementHotkey up,down,left,right>
<If ActiveWinIs wow1><SendLabel w2><Key %Trigger%>
<Else If ActiveWinIs wow2> <SendLabel w1><Key %Trigger%>
<Else><SendLabel focus><Key %trigger%>
(this would do the following:
1. If you play on WoW1 and press the arrow-keys, its sends the corresponding arrow-key to WoW2
2. If you play on WoW2 and press the arrow-keys, its sends the corresponding arrow-key to WoW1
3. If you play neither WoW1 or WoW2 and press the arrow-keys, its sends the corresponding arrow-key to the window with the focus. )
Connect With Us