@WINACTIVE

Top  Previous  Next

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: