L’interface de VDS Renaissance est disponible en plusieurs langues. La documentation officielle est maintenue en anglais afin de garantir une référence unique, cohérente et toujours à jour.

@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()

See also