Skip to main content
Version: 20 R7 BETA

Get window title

Get window title {( window )} : Text

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

Properties

Command number450
Thread safe