UVK scripting commands - ->WaitWindowClose()

Show menu

->WaitWindowClose()

Syntax:

->WaitWindowClose( winIndex )

Description:

Pause the script execution until the specified window(s) close.

Parameters:

winIndex (optional) - The index of the window, or -1 to wait for all managed windows to close.

Remarks:

Optional parameters do not need to be specified.
All automation functions must be called in the <Run> mode.

Example:

;Automate Problem steps recorder (PSR) to record 5 seconds
<Run>
%WinDir%\explorer.exe %SystemDir%\psr.exe
->WaitWindow2(3, 2, 0, UARWnd)
->WaitControlAt(40, 14)
->ClickControlAt(40, 14)
->Sleep(5, 0)
->ClickWindowPos(164, 14)
->WaitWindowClose()

 

Back to the list

 


 

Copyright Carifred © 2010 - 2024, all rights reserved.

Scroll to top