Retrieves the handle of a window.
The title of the window to access.
Optional text found in the window.
The handle of the window as a bigint.
import { WinGetHandle } from '@ahmic/autoit-js';const handle = WinGetHandle('Untitled - Notepad');console.log(handle); // Output: 123456n Copy
import { WinGetHandle } from '@ahmic/autoit-js';const handle = WinGetHandle('Untitled - Notepad');console.log(handle); // Output: 123456n
https://www.autoitscript.com/autoit3/docs/functions/WinGetHandle.htm
Retrieves the handle of a window.