SendFocusWin sends keystrokes to the window that has the focus. That's the window that would receive keystrokes if you typed at the keyboard.
SendFocusWin can be used to to imitate a key broadcasting program. This is shown in the second example below.
The following two lines are equivalent:
<SendFocusWin>
<SetSendMode SendInput NoTarget>
SendFocusWin uses the same send method as SendWin. The only difference between them is that SendWin brings a specified window to the foreground before it types keystrokes. SendFocusWin does not.
|