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.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Queries data from clipboard item.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Clipboard 4.4 Yes Yes No No Yes
MBS( "Clipboard.GetData"; ClipboardType; ResultType { ; Param1; Param2 } )   More


Parameter Description Example value
ClipboardType The clipboard type to query. On Windows can also be a number. ""
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 Optional
For ResultType "file" the filename of the container value. For ResultType "image" the image type. Can be PNG, JPEG, GIF or BMP.
Param2 Optional
For ResultType "image", the file name of the image in the container value.


Returns OK or error.


Queries data from clipboard item.
We look at the clipboard for a matching item with given type and return it in the format type you request.

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.


Queries icon from clipboard:

MBS("Clipboard.GetData"; ""; "image")

See also

Blog Entries

Created 20th September 2014, last changed 3th June 2015

ClearRegistration   -   Clipboard.GetFileMakerData

Feedback: Report problem or ask question.

MBS Xojo Plugins