Tutorial: system.clipboard.writeText

system.clipboard.writeText

Write content to the clipboard as plain text

Example

fin.desktop.System.Clipboard.writeText('Hello World', null, () => {
    console.log('Success!!');
}, (reason, err) => {
    console.log(`Error while reading the clipboard Message: ${err.message}, Stack: ${err.stack}`);
});