Command Window Activate Window...

The ActivateWindow command activates the window with the specified title.

When selecting the Activate Window menu item, the following dialog

Activate Window Command Input

invites you to specify the text that matches or at least partially matches the title of the window you want to activate.

Example

If you have Microsoft Word open, for example, it will be brought to the foreground as a result of the following command:

{ActivateWindow}Microsoft Word{/ActivateWindow}