Minimizes or unminimizes all windows.
WinMinimizeAll WinMinimizeAllUndo
WinMinimizeAllUndo() unminimizes minimized top-level windows, preserving their previous normal or maximized state. Windows which are already normal or maximized are left unchanged. Unlike in AutoHotkey, it includes windows minimized individually and does not require a preceding WinMinimizeAll() call. DetectHiddenWindows controls whether hidden windows are included.
WinMinimizeAll() invokes Explorer's Minimize All operation, equivalent to Win+M, which exempts some windows. WinMinimizeAllUndo() skips hung windows.
Restoring other applications' windows has the same requirements as WinRestore.
Restoring other applications' windows requires Accessibility permission. Unminimizing leaves native full screen unchanged. Native state transitions have not been verified on macOS.
On macOS, a rejected native operation raises an UnsupportedError. Native behavior is unverified.
WinRestore, WinMinimize, GroupAdd