@KEY |
|
| Top Previous Next | |
Syntax:
@KEY(<key name>)
Description:
This function is only useful when used within the string argument of a WINDOW SEND command to send keystrokes to another window. It is used to generate keystrokes that are equivalent to the key named in <key name>.
This function can accept all valid key mnemonics including ESC, INS, DEL, SCROLL, NUM, CAPS and PRINT as the standard HOME, END, UP, DOWN, LEFT, RIGHT, PGUP, PGDN, INS, DEL, plus F1 to F12.
OK:
Unchanged.
Example:
rem move cursor
window send,Test - WordPad,@key(HOME)@key(PGDN)@key(PGDN)
See also: