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.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4    Statistic    FMM    Blog  

Clipboard.GetHTMLText

Queries styled text from clipboard as HTML.

Component Version macOS Windows Linux Server iOS SDK
Clipboard 6.0 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Clipboard.GetHTMLText" { ; Encoding } )   More

Parameters

Parameter Description Example Flags
Encoding The text encoding for result.
Default is Windows ANSI.
Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ.
UTF8 Optional

Result

Returns html text or error.

Description

Queries styled text from clipboard as HTML.
For server this will query the clipboard of the user account running the server app on the server computer and not the clipboard of any client.

For macOS, if a webarchive is on the clipboard, the plugin will pick data from that webarchive. Safari puts a Webarchive on the clipboard if you do a copy to the clipboard. If text encoding is UTF-8, the plugin will automatically use this encoding as default unless you overwrite it.

See also

Release notes

  • Version 8.2
    • Changed Clipboard.GetHTMLText to convert styled text to html if you ask for HTML and clipboard has styled text.

Example Databases

Blog Entries

Created 7th January 2016, last changed 10th August 2020


Clipboard.GetFiles - Clipboard.GetPDF

Feedback: Report problem or ask question.


Start Chat