Query filter for Window.Find. At least one field should be provided.

interface WindowQuery {
    title?: string;
    process?: string;
}

Properties

Properties

title?: string

Filter by window title. Treated as a regular expression if valid, otherwise falls back to substring match.

process?: string

Filter by process name (case-insensitive substring match).