Type String Event windowState Revision Release 2022.3683 Keywords windowState, phase
A string identifying which state window is transitioning to:
"foreground"
— window is now an active window"background"
— window is sent to background (or minimized).