VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。

@KEY

Windows Linux macOS

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