@WINSTATE

<< Click to Display Table of Contents >>

Navigation:  TCC > Variables & Functions > Functions >

@WINSTATE

@WINSTATE[title] : Returns the window state of the first window matching title (which can include wildcards). The return values are:

 

Value

Window state

0

Hidden

1

Normal

2

Minimized

3

Maximized

 

If the title argument begins with a =, it is assumed to be a PID instead of a window title.