Hotkeynet has the possibility to use an If statement to do different actions based on which window is active.
from the HKN website: http://www.hotkeynet.com/ref/if.html
Code:
<Hotkey F1>
<If ActiveWinIs wow1>
<SendLabel w1>
<Key 1>
<Else If ActiveWinIs wow2>
<Sendlabel w2>
<Key 2>
<Else>
<SendFocusWin>
<Key %Trigger%>
Pretty self-explanatory, but you can see here an example of sending a different action from the same hotkey based on the currently active window. I see no reason why you could not expand this to cover all plausible active windows.
Here is also a post detailing how Fuzzyboy has set the same thing up in a manner, where it is easier to refer to your assist within the code, if you want to add it in to any other portion without having to write it all out long form again: https://www.dual-boxing.com/threads/...-setup-for-HKN
Connect With Us