This property is used to get or set a transferData object on the clipboard.
For more information please see the
TransferData class.
function OnCopySpecial()
{
var event = shell.currentEvent;
if (event)
{
var factory = shell.factory;
var clipboard = (factory) ? factory.createTransferData() : null;
if (clipboard)
{
var editor = scene.getBoxById("editorID");
if (editor)
{
var text = editor.htmlSelection;
clipboard.addString("text/plain", text);
shell.clipboard = clipboard;
}
}
event.stopPropagation();
}
}