bBox_PasteboardSet( mode; flavor; data )

Parameters:
   mode:
      3 = use UTF8 character encoding, don't translate input or ouput line endings
      4 = use 2 byte characters in output (UTF16)
   flavor: UTI code to use for data added to clipboard

Result:
   0, or the Pasteboard error code

Error:
   function result

Script Step:
   none

––––––––––

First appeared in: 0.3

Examples in demo file: 2

Compatibility:   Client, macOS

––––––––––

Set the contents of the clipboard to the given text data and flavor.

The current implementation of this function always clears the previous contents of the clipboard, so it is not possible to have more than one flavor in the clipboard.