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

@WINPOS

Windows Linux macOS

Syntax

@WINPOS(<window>, <flags>)

Description

This function returns information about the position of the window identified by <window>, depending on the value of <flags>.

Valid flags are:

T top position
L left position
W width
H height
S status (1 = normal; 2 = iconized; 3 = maximized)

If more than one flag is specified, each item of information is separated by the current field separator character. The data can be stored in separate variables using the PARSE command.

OK

Set to false if the specified window cannot be found.

Example

PARSE "%T;%L",@winpos(Explorer,TL)

See also