The set title of window to statement allows you to change the display name of a window at runtime.
set title of window window_name to string
• window_name – The name used to refer to the window in scripts.
• string – A string field or string value of up to 78 characters to which the display name of the specified window should be changed. Strings longer than 78 characters will be truncated.
This statement will not overwrite the window title in the dictionary. If this statement isn’t used, the window title specified in the window’s Title property will be used.