@ahmic/autoit-js
Version:
Node.js bindings for AutoItX3.dll
14 lines (11 loc) • 479 B
JavaScript
import koffi from 'koffi';
import './@types/point.js';
import { Rect, LPRECT } from './@types/rect.js';
import { UINT, INT } from './@types/win32.js';
import { autoit } from './lib/autoit.js';
function PixelChecksum(left, top, right, bottom, step = 1) {
const rect = new Rect({ left, top, right, bottom });
return autoit.invoke('AU3_PixelChecksum', UINT, [koffi.inout(LPRECT), INT], [rect, step]);
}
export { PixelChecksum };
//# sourceMappingURL=pixel-checksum.js.map