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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.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
MBS(
"Clipboard.GetHTMLText"; /* Queries styled text from clipboard as HTML. */
$Encoding) /* Optional; The text encoding for result.
Default is Windows ANSI.e.g. UTF8 */
Less
Parameters
Parameter |
Description |
Example |
Flags |
Encoding |
The text encoding for result.
Default is Windows ANSI. |
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.GetPicture
Feedback: Report problem or ask question.