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
Sets the text on the clipboard.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Clipboard | 2.6 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
text | The new txt for the clipboard. | "Hello World" | |
type | The data type. By default NSStringPboardType, but can be other Mac types. | "" | Optional |
Returns "OK" or error message.
Sets text:
MBS( "Clipboard.SetText"; "Hello World" )
Created 18th August 2014, last changed 19th February 2021
Clipboard.SetStyledText - ColorPanel.Choose
Feedback: Report problem or ask question.