Closes a window. Fails in case the window is not found or cannot be closed.
The handle to the AutoIt server
The title of the window to close.
This function sends a close message to a window, the result depends on the window (it may ask to save data, etc.). To force a window to close, use the WinKill function. If multiple windows match the criteria, the window that was most recently active is closed.
This block is in the AutoIt Library since 1.0.