@ahmic/autoit-js
Version: 
Node.js bindings for AutoItX3.dll
15 lines (12 loc) • 740 B
JavaScript
import './@types/point.js';
import './@types/rect.js';
import { INT, LPCWSTR } from './@types/win32.js';
import { autoit } from './lib/autoit.js';
function ControlMoveSync(windowTitle, windowText, controlId, x, y, width = -1, height = -1) {
    return autoit.invoke('AU3_ControlMove', INT, [LPCWSTR, LPCWSTR, LPCWSTR, INT, INT, INT, INT], [windowTitle, windowText, controlId, x, y, width, height]);
}
function ControlMove(windowTitle, windowText, controlId, x, y, width = -1, height = -1) {
    return autoit.invokeAsync('AU3_ControlMove', INT, [LPCWSTR, LPCWSTR, LPCWSTR, INT, INT, INT, INT], [windowTitle, windowText, controlId, x, y, width, height]);
}
export { ControlMove, ControlMoveSync };
//# sourceMappingURL=control-move.js.map