Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FifteenWindows/OS Functions (continued)

GetWindowText Function

Overview

The GetWindowText function allows the script to retrieve a specified window’s text or caption. It is up to the specific window class as to how the data is processed.

Syntax/Parameters

Syntax

string = GetWindowText ( handle hWindow );

Parameters

hWindow

A valid window handle.

Return Value

A string containing the caption or text of the window. The string can be empty which can indicate the window has no caption, text, does support the message or an error occurred. Use the GetLastError function to return a formatted error code.

Remarks

Unicode strings are converted to UTF-8 strings.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic