Enumerate windows
New in 2021!   Eonza automation software - free, open source cross-platform automation software for easy creation and management of scripts.

Enumerate windows

Enumerates specified windows. This command can contain other commands that you insert into this command for further processing. Inner commands will be called for each found window. The caption and the classname of the found window will be stored in the specified variable.

Description
Optionally, you may add comments here describing the purpose of this element.
Caption
Specify the partial or full name of the windows to be enumerated.
Match
You can select the following match parameters.
Exact Window Name - Caption field must exactly match a window title.
Window Name Substring - Caption field can be substring of a window title.
Wildcard matching - Caption field contains wildcards '*' and '?'. In this case, Caption can be
*Notepad
* 
MyApp*  
Variable name
Name of the variable to which the caption of the found window(s) will be written. A variable [variablename]class contains the name of the class.
Include hidden windows
If you check this checkbox, the command enumerates both visible and hidden windows.
Classname
You can limit the search by some classname. If you specify it, the window must be this class.