reference:evaluator:findwindow

FindWindow(
     string:class,
     [string:title],
     [string:flags]
)
bool

Arguments

class

Window class to search for.

title

Optional. Window title to search for.

flags

Optional. Optional flags are:

ruse regular-expression rather than standard pattern matching

Return value

Returns True if the window exists.

Description

Searches for a top-level window in the system matching the specified class and/or title.

You can specify just a class name, just a title name, or both a class and a title (in which case both must match). To specify a title without a class, use an empty string for the class name.

The strings support wildcards (either standard pattern matching or regular expressions if the "r" flag is given).

See also:
Running