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