Information about a window returned by the Window API.

interface WindowInfo {
    id: string;
    title: string;
    processName: string;
    pid: number;
    bounds: WindowBounds;
}

Properties

id: string

Opaque window identifier (string-encoded handle). Pass to other Window methods.

title: string

The window title bar text.

processName: string

Executable file name of the owning process (e.g. "chrome.exe").

pid: number

Process ID of the owning process.

bounds: WindowBounds

Window position and size.