Skip to main content
Version: Next

Get window title

Get window title {( window )} -> Function result

ParameterTypeDescription
windowWinRef🡒Window reference number, or Frontmost window of current process, if omitted
Function resultString🡐Window title

Description

The Get window title command returns the title of the window whose reference number is passed in window. If the window does not exist, an empty string is returned.

If you omit the window parameter, Get window title returns the title of the frontmost window for the current process.

Example

See example for the SET WINDOW TITLE command.

See also

SET WINDOW TITLE