UNPKG

@ahmic/autoit-js

Version:
15 lines (12 loc) 448 B
import './@types/point.js'; import './@types/rect.js'; import { INT } from './@types/win32.js'; import { autoit } from './lib/autoit.js'; function PixelGetColorSync(x, y) { return autoit.invoke('AU3_PixelGetColor', INT, [INT, INT], [x, y]); } function PixelGetColor(x, y) { return autoit.invokeAsync('AU3_PixelGetColor', INT, [INT, INT], [x, y]); } export { PixelGetColor, PixelGetColorSync }; //# sourceMappingURL=pixel-get-color.js.map