522.0 Getting Started2.10.7.5 getWindowClass(handle)2.10.7.5.1 DescriptionGets the title of the specified window. This method also works on childwindows such as buttons, edit boxes, and similar controls.2.10.7.5.2 ArgumentsArgument Type Descriptionhandle Number The handle of the window.2.10.7.5.3 ReturnsA string containing the window title of the window or an empty stringif the window text couldn’t be retrieved.2.10.7.5.4 ConstantsNone.2.10.7.5.5 Example2.10.7.6 getWindowText(handle)2.10.7.6.1 DescriptionGets the title of the specified window. This method also works on childwindows such as buttons, edit boxes, and similar controls.2.10.7.6.2 ArgumentsArgument Type Descriptionhandle Number The handle of the window.2.10.7.6.3 ReturnsA string containing the window title of the window or an empty stringif the window text couldn’t be retrieved.2.10.7.6.4 ConstantsNone.2.10.7.6.5 Example2.10.7.7 setForegroundWindow(handle)2.10.7.7.1 DescriptionSets the specified window to be the foreground window.2.10.7.7.2 ArgumentsArgument Type Descriptionhandle Number The handle of the window.2.10.7.7.3 ReturnsNothing.2.10.7.7.4 ConstantsNone.2.10.7.7.5 Example2.10.7.8 getWindowText(handle, text)2.10.7.8.1 DescriptionSets the title of the specified window. This method also works on childwindows such as buttons, edit boxes, and similar controls.2.10.7.8.2 ArgumentsArgument Type Descriptionhandle Number The handle of the window.text String The title to set.2.10.7.8.3 Returnstrue if successful, false otherwise.2.10.7.8.4 ConstantsNone.2.10.7.8.5 Example