platform.setClipboardText

The 'setClipboardText' function copies the specified text to the System's Clipboard.
setClipboardText把指定文本复制到剪贴板

  • Prototype: platform.setClipboardText(sTxt);
  • Parameters:
    1. sTxt: text to be copied to Clipboard;
      文本内容
  • Return Value: true on success.
  • Example:
    var bSucc=platform.setClipboardText('TEXT CONTENT');