Retrieves the position of the caret in the active window.
An object containing the x and y coordinates of the caret.
import { WinGetCaretPos } from '@ahmic/autoit-js';const caretPos = WinGetCaretPos();console.log(caretPos); // Output: { x: 10, y: 20 } Copy
import { WinGetCaretPos } from '@ahmic/autoit-js';const caretPos = WinGetCaretPos();console.log(caretPos); // Output: { x: 10, y: 20 }
https://www.autoitscript.com/autoit3/docs/functions/WinGetCaretPos.htm
Retrieves the position of the caret in the active window.