UVK scripting commands -  ->WaitControlState2()

Show menu



->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().


Optional parameters do not need to be specified.
This function must be called after at least one call to ->WaitWindow() or ->WaitWindow2(), otherwise it will fail.



Back to the list



Copyright Carifred © 2010 - 2024, all rights reserved.

Scroll to top