Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

RichText.CopyToClipboard

Puts current rich text on the clipboard.

Component Version macOS Windows Linux Server iOS SDK
RichText 13.0 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "RichText.CopyToClipboard" )

Parameters

none

Result

Returns OK or error.

Description

Puts current rich text on the clipboard.
Will put styled text (and plain text) on the clipboard.

Examples

Parse some html and put it as styled text on the clipboard:

Set Variable [ $html ; Value: "<a href=\"https://monkeybreadsoftware.com/filemaker\">MBS Plugin</a>" ]
Set Variable [ $r ; Value: MBS( "RichText.ReadHTML"; $HTML; "UTF-8") ]
Set Variable [ $r ; Value: MBS( "RichText.CopyToClipboard" ) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 16th December 2022, last changed 16th December 2022


RichText.Clear - RichText.FormattedText