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.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5    Statistic    FMM    Blog  

Clipboard.SetFileMakerData

Puts the xml text on the clipboard for a FileMaker layout/script object.

Component Version macOS Windows Linux Server iOS SDK
Clipboard 4.0 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Clipboard.SetFileMakerData"; Type; Text )   More

Parameters

Parameter Description Example
Type What element type to set.
Can be "auto" for version 10.1 for automatic type selection.
"Layout"
Text The text to put on the clipboard. $text

Result

Returns OK or error.

Description

Puts the xml text on the clipboard for a FileMaker layout/script object.
Be sure to put the correct xml on the clipboard to avoid FileMaker being confused.
The type can be ValueList, Script, ScriptStep, Layout, CustomFunction, Table, Field or Layout12.
Pass auto as type in version 10.1 or newer to let the plugin look at the xml to decide on type.

For server this will modify the clipboard of the user account running the server app on the server computer and not the clipboard of any client.

Added type ValueList for FileMaker 16.
For custom menus in FileMaker 17, please use Clipboard.SetText function.

Examples

Put xml back on clipboard:

Set Variable [$r; Value: MBS( "Clipboard.SetFileMakerData"; "auto"; $xml ) ]

See also

Release notes

Example Databases

Blog Entries

FileMaker Magazin

Created 18th August 2014, last changed 21st February 2020


Clipboard.GetTypes - Clipboard.SetFiles

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat