AutoMate Example
Returns the handle of the window that matches a specified window title.
Declaration
Function FindWindowByTitle (WindowTitle As Variant) As Integer
Description
Use FindWindowByTitle to obtain a handle to the window with the title specified in WindowTitle. The window must be open for this method to be successful. The method returns “0” if the window is not found, or it returns a non-zero value (the window handle) if the window is located.