UVK scripting commands - ->WaitControlState2()
->WaitControlState2( ClassNN/ID, state, timeout, winIndex )
Wait until a specific control has the specified state (advanced)
ClassNN/ID - The control's ClassNN, Advanced
mode, ID or text.
state (optional) - The required state. Default is 3.
Add the desired values below together to obtain the desired behavior.
1 = wait until control exists
2 = wait until control is visible
4 = wait until control is enabled
8 = wait until control is hidden
16 = wait until the control is disabled
32 = wait until the control is deleted.
timeout (optional) - The timeout, in seconds. Default is 3600 (1 hour).
winIndex (optional) - The index of the window the control belongs to. Default is the last ->WaitWindow() or ->WaitWindow2().
Back to the list