Get window title
Get window title {( window )} : Text
Parameter | Type | Description | |
---|---|---|---|
window | Integer | → | Window reference number, or Frontmost window of current process, if omitted |
Function result | Text | ← | Window 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.