| Sets options that determine how keystrokes are sent. |
| <SetSendMode option [option...]> |
You can include as many options as you want from the following list, but only some combinations work:
|
| The system command SendInput() will be used. (This imethod is used by SendWin.) |
|
| The system command PostMessage() will be used to send WM_KEYDOWN and WM_KEYUP messages. (This method is used by SendWinM.) |
|
| The system command SendMessage() will be used to send WM_KEYDOWN and WM_KEYUP messages. |
|
| HotkeyNet will attempt to make the targeted window act as if it has the keyboard focus even though it's in the background. |
|
| HotkeyNet will insert delays after setting the background focus and before killing it. This option has an effect only when BackgroundFocus is also specified. To change the length of the delays, use the Settings panel or SetBackgroundFocusDelays. |
|
| Instead of sending WM_KEYDOWN and WM_KEYUP messages, HotkeyNet will send only WM_CHAR messages. This option has an effect only when PostMessage or SendMessage are specified. |
|
| In addition to WM_KEYDOWN and WM_KEYUP messages, HotkeyNet will also send WM_CHAR messages. This option has an effect only when PostMessage or SendMessage are specified. |
|
| Specifies that output gets sent to whichever window happens to have the focus. Must be used in combination with SendInput. (This keyword changed In build 104. It used to be "NoTarget.") |
|
You can write options in any order.
This is a low-level command. It's usually more convenient to use high-level command such as SendWin, SendWinMF, etc. However, SetSendMode must be used when the high-level commands fail to send keystrokes to a particular background window,
|
This page was last revised on June 8, 2008 |
|
|
|
|
|
|