Skip to content

bBox_PasteboardGet

Simon Brown edited this page Sep 18, 2025 · 1 revision

bBox_PasteboardGet( mode; item; flavor )

Parameters:
   mode:
      3 = use UTF8 character encoding, don't translate input or ouput line endings
      4 = expect 2 byte characters in output (UTF16)
   item: item index, usually 1
   flavor: UTI code for one of the flavors currently in clipboard

Result:
   value for item and flavor, or ? if the flavor does not exist

Error:
   none

Script Step:
   none

First appeared in: 0.3

Examples in demo file: 14

Compatibility: Client, macOS


Get data from the user's clipboard as text.

Versions up to 0.99.16 had a size limit of 20 MB, later version are 40 MB.

Clone this wiki locally