Type String Event windowState Revision Release 2024.3703 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).