Sets the result variable to the window title.
Syntax:
getWindowTitle
This command takes no arguments.