Get(StatusAreaState)

Category: Get

Syntax: Get ( StatusAreaState )

Parameters: None

Data type returned: Number

Description:

Returns a number that represents the state of the Status Area of the active window.

If you want a single test that will tell you whether the Status Area is hidden (regardless of whether it's locked or not), use Mod (Get (StatusAreaState); 3). When this returns 0, the Status Area is hidden; when it's anything else, the Status Area is visible.

Examples:

Function

Results

Get(StatusAreaState)

Returns 0 if the Status Area is hidden.

 

Returns 1 if the Status Area is visible.

 

Returns 2 if the Status Area is visible and locked.

 

Returns 3 if the Status Area is hidden and locked.

Категории