UVK scripting commands -  ->WaitControlAt()

Show menu

->WaitControlAt()

Sintax:

->WaitControlAt( x, y, ClassNN/ID, timeout, winIndex  )

Description:

Wait for a control to be visible at a specific position, and optionally with a specific class name.

Parameters:

x - The left position, in pixels
y - The top position, in pixels.
ClassNN/ID - The control's ClassNN, Advanced mode, ID or text.
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().

Remarks:

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.

Example:

 

Back to the list

 


 

Copyright Carifred © 2010 - 2024, all rights reserved.

Scroll to top