Pauses command execution until a specified window is the foreground window, with a specified timeout.
Syntax
WaitForWindow(windowTitleFragment, ignore, timeout)
Parameters
- windowTitleFragment
- All or part of the title of the desired window. Case insensitive.
- ignore
- Parameter ignored.
- timeout
- Number of seconds to wait before aborting.
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 timeout 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.
See Also
Assembly: VocolaFunctionLibrary (Module: VocolaFunctionLibrary) Version: 3.1.1.0 (3.1.1.0)