Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1    Statistic    FMM    Blog  

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 paid license.

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


RichText.Clear - RichText.FormattedText

💬 Ask a question or report a problem


Start Chat