Keyboard emulation:
Keyabord( "<Command>", "<Params">
[, HWND] )
Commands: |
Params example: |
Comment: |
"PRESS" |
"Ctrl+Alt+A" |
|
"KEYDOWN" |
"Num Enter" |
|
"KEYUP" |
"Num Enter" |
|
"TYPE" |
"Testing string" |
Type string using keyboard layout.
Note: for typing ["] use [""]
Example: Keyboard( "TYPE", "Testing ""string"""
) |
"ON" | "OFF" |
"Num Lock" | "Caps Lock" | "Scroll
Lock" |
|
"LAYOUT" |
"English" or any other |
See "Keyboard layout hotkeys"
in plugin settings |
Direct send keyboard messages: |
"WM_KEYDOWN" |
"X", hWnd |
|
"WM_KEYUP" |
"X", hWnd |
|
"WM_PRESS" |
"X", hWnd |
WM_KEYDOWN & WM_KEYUP |
Example:
Send key press command to minimized or inactive Winamp window:
h
= Winamp("GET_HANDLE")
Keyboard( "WM_PRESS", "X", h )
|