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
Queries data from clipboard item.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Clipboard | 4.4 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
ClipboardType | The clipboard type to query. On Windows can also be a number. | "com.apple.icns" | |
ResultType | How to return the data. Can be "hex" for hex encoded, "base64" for base 64 encoded, "text" for trying to read data as text, "file" for a container value containing a file or "image" for reading data as image. | "image" | |
Param1 | For ResultType "file" the filename of the container value. For ResultType "image" the image type. Can be PNG, JPEG, GIF or BMP. | "JPEG" | Optional |
Param2 | For ResultType "image", the file name of the image in the container value. | "image.jpg" | Optional |
Returns OK or error.
Queries icon from clipboard:
MBS("Clipboard.GetData"; "com.apple.icns"; "image")
Created 20th September 2014, last changed 3th June 2015
Clipboard.DetectFileMakerDataType - Clipboard.GetFileMakerData
Feedback: Report problem or ask question.