Changes the title of a window.
The handle of the window to modify.
The new title to set for the window.
1 if successful, 0 otherwise.
import { WinSetTitleByHandle, WinGetHandle } from '@ahmic/autoit-js';const windowHandle = WinGetHandle('Untitled - Notepad');WinSetTitleByHandle(windowHandle, 'New Title'); Copy
import { WinSetTitleByHandle, WinGetHandle } from '@ahmic/autoit-js';const windowHandle = WinGetHandle('Untitled - Notepad');WinSetTitleByHandle(windowHandle, 'New Title');
https://www.autoitscript.com/autoit3/docs/functions/WinSetTitle.htm
Changes the title of a window.