platform.getClipboardText
The 'getClipboardText' function retrieves text content from the system's Clipboard.
getClipboardText函数读入剪贴板文本
- Prototype: platform.getClipboardText(sSubType);
- Parameters:
- sSubType: value of the sub type can be either 'plain' or 'html';
类型可以是纯文本或者html
- sSubType: value of the sub type can be either 'plain' or 'html';
- Return Value: string of text on clipboard;
- Example:
var sTxt=platform.getClipboardText('plain');