Pauses command execution until a specified window is the foreground window.

WaitForWindow(windowTitleFragment)

- windowTitleFragment
- All or part of the title of the desired window.

Switching between windows is not instantaneous. When a command controls more than one window,
use this function to pause until the window you want is the foreground window.
If within 5 seconds the foreground window title does not contain windowTitleFragment, this function aborts the calling command and displays an error message in the Vocola Log window.


Font Size 6..72 = {Alt+o}f WaitForWindow(font) {Alt+s} $1 {Enter};
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)