VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。
@WINACTIVE
Windows ✓Linux ⚠macOS ⚠
Syntax
@WINACTIVE(<flags>)
Description
This function is used to obtain information about the currently active window. This information is needed when using certain window control commands, such as WINDOW SEND.
The flags are:
| C | returns the class name. [VDS6] For compatibility with DialogScript window functions, which accept several methods of identifying a window, the name is prefixed by a # character. |
| I | returns the window identifier. This is a numeric value. For compatibility with DialogScript window functions, which accept several methods of identifying a window, the value is prefixed by a % character. |
| N | returns the title bar text (default) |
OK
Unchanged.
Example
%W = @winactive()