UNPKG

@ahmic/autoit-js

Version:
15 lines (12 loc) 409 B
import koffi from 'koffi'; import { Point, LPPOINT } from './@types/point.js'; import './@types/rect.js'; import { VOID } from './@types/win32.js'; import { autoit } from './lib/autoit.js'; function MouseGetPos() { const point = new Point(); autoit.invoke('AU3_MouseGetPos', VOID, [koffi.out(LPPOINT)], [point]); return point; } export { MouseGetPos }; //# sourceMappingURL=mouse-get-pos.js.map