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