Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0    Statistic  


Puts HTML data on the clipboard.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Clipboard 6.0 Yes Yes No No Yes
MBS( "Clipboard.SetHTMLText"; HTMLText { ; Encoding } )   More


Parameter Description Example value
HTMLText The html data to put in clipboard. "<p>Hello</p>"
\f0\b\fs28 \cf0 Hello World}"
Encoding Optional
The text encoding for text parameter.
Default is Windows ANSI.


Returns OK or error.


Puts HTML data on the clipboard.
For server this will modify the clipboard of the user account running the server app on the server computer and not the clipboard of any client.

On Windows you may want to use Text.ReplaceNewline first to convert line endings. FileMaker on Windows uses Mac line endings internally.

See also

Example Databases

Blog Entries

Created 7th January 2016, last changed 18th January 2016

Clipboard.SetFiles   -   Clipboard.SetPicture

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins