Retrieves text from the clipboard.
The maximum number of characters to retrieve. Default is 2048.
The text from the clipboard.
import { ClipGet } from '@ahmic/autoit-js';// Assuming the text "Hello" is in the clipboardfor (let i = 0; i < 5; i++) { console.log(ClipGet(i + 1));}// Output:// H// He// Hel// Hell// Hello Copy
import { ClipGet } from '@ahmic/autoit-js';// Assuming the text "Hello" is in the clipboardfor (let i = 0; i < 5; i++) { console.log(ClipGet(i + 1));}// Output:// H// He// Hel// Hell// Hello
https://www.autoitscript.com/autoit3/docs/functions/ClipGet.htm
Retrieves text from the clipboard.