UVK scripting commands - ->WaitWindowState()
->WaitWindowState( state, index, timeout )
Wait until a window is on the specified state(s)
state (optional) - Flag that controls the
desired state. Default is 1.
Add the desired values below together to obtain the desired behavior.
1 = wait until the window is visible
2 = wait until the window is enabled
4 = wait until the window is hidden
8 = wait until the window is disabled
16 = wait until the window is deleted
index (optional) - The index of the window, or 0 for the last window, or -1 for all windows.
timeout (optional) - The timeout, in seconds to wait. Default is 7200 (2 hours)
Optional parameters do not need to be specified.
If you specify 0 as the index, the last ->WaitWindow() or ->WaitWindow2() will be used.
Back to the list