UVK scripting commands - ->CloseWindow()

Show menu



->CloseWindow( winIndex )


Close a specific managed window.


winIndex (optional) - The index of the window to close. Default is the last ->WaitWindow() index.


Optional parameters do not need to be specified.
This function must be called after at least one call to ->WaitWindow(), otherwise it will fail.
This function performs the same result as if you click the x (close) button at the right of the title bar.


;This code block will open notepad, send "My text", and close the window
->ControlSend(Edit1,My text)
->Sleep(2, 0)

Back to the list



Matched content by Google

Copyright Carifred © 2010 - 2022, all rights reserved.

Scroll to top