Skip to main content
Version: 20 R7 BETA

Get window title

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

ParameterTypeDescription
windowIntegerWindow reference number, or Frontmost window of current process, if omitted
Function resultStringWindow 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