Get the name of the window
This command will return the name of the graphics window. The name is what appears in the title bar of the window.
Window name
<viz:window>.setName