UNPKG

@ahmic/autoit-js

Version:
35 lines (34 loc) 809 B
/** * Writes text to the clipboard. * * @param value The text to put in the clipboard. * * @example * ```typescript * import { ClipPutSync, ClipGetSync } from '@ahmic/autoit-js'; * * ClipPutSync('Hello'); * * console.log(ClipGetSync()); // Outputs: Hello * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/ClipPut.htm */ export declare function ClipPutSync(value: string): void; /** * Writes text to the clipboard. * * @param value The text to put in the clipboard. * * @example * ```typescript * import { ClipPut, ClipGet } from '@ahmic/autoit-js'; * * ClipPut('Hello'); * * console.log(ClipGet()); // Outputs: Hello * ``` * * @see https://www.autoitscript.com/autoit3/docs/functions/ClipPut.htm */ export declare function ClipPut(value: string): Promise<void>;