Skip to content

window_get_caption

drewmccluskey edited this page Feb 12, 2019 · 3 revisions

window_get_caption

Returns game window caption

Syntax:

window_get_caption()

Returns: string

Description:

Returns window caption from the game window.

Example:

string win_caption = window_get_caption();
show_debug_message(win_caption);

The above code will set string win_caption to the caption of the current game window and then display the game window caption in a pop-up debug message.

Back to window-functions

Clone this wiki locally