ui.Window.GetText()

 

The method is used to retrieve the name of the window. It does not requires any parameters and returns a character string containing the window title:

 

LET title = wo.GetText()