Pauses command execution until a specified window is the foreground window.
Syntax
WaitForWindow(windowTitleFragment)
Parameters
- windowTitleFragment
- All or part of the title of the desired window.
Remarks
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.
See the suggested Vocola 3 analog Main.WaitForWindow for an example.
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)