@ahmic/autoit-js
Version:
Node.js bindings for AutoItX3.dll
15 lines (12 loc) • 588 B
JavaScript
import './@types/point.js';
import './@types/rect.js';
import { INT, HWND } from './@types/win32.js';
import { autoit } from './lib/autoit.js';
function WinSetTransByHandleSync(windowHandle, transparency) {
return autoit.invoke('AU3_WinSetTransByHandle', INT, [HWND, INT], [windowHandle, transparency]);
}
function WinSetTransByHandle(windowHandle, transparency) {
return autoit.invokeAsync('AU3_WinSetTransByHandle', INT, [HWND, INT], [windowHandle, transparency]);
}
export { WinSetTransByHandle, WinSetTransByHandleSync };
//# sourceMappingURL=win-set-trans-by-handle.js.map