Tutorial: system.clipboard.readText

system.clipboard.readText

Read the content of the clipboard as plain text

Example

fin.desktop.System.Clipboard.readText(null, text => {
    console.log(`This is the text from the clipboard: ${text}`);
}, (reason, err) => {
    console.log(`Error while reading the clipboard Message: ${err.message}, Stack: ${err.stack}`);
});