GetWindowTitle()
Syntax
Result$ = GetWindowTitle(#Window)Description
Returns in 'Result$' the text which is currently displayed in the specified #Window's title bar.
If OpenWindow(2, 100, 100, 200, 100, #PB_Window_SystemMenu, "My cool title")
Title$ = GetWindowTitle(2) ; Will return "My cool title"
EndIf
Supported OS
Windows, Linux, MacOS X