AnyWin class, XmlNode class.
Returns the name of the window declaration or XML object for the Classic Agent or the handle of the window in the UI for the Open Agent.
sWinName = window.GetName()
GetName returns the name or handle of the last window or object that is specified in a method call. For example, the name of the window with the path TextEditor.File.Open is Open. The name returned when you are using the Classic Agent is the one declared in the declarations file, not the actual name of the window at runtime.
STRING sWinName sWinName = MessageBox.GetName()