Skip to main content
Version: Next

Get window title

Get window title {( window )} : Text

ParameterTypeDescription
windowIntegerWindow reference number, or Frontmost window of current process, if omitted
Function resultTextWindow title

This command is not thread-safe, it cannot be used in preemptive code.

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