Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SyntaxColoring.ClipboardConverter.SetEnabled

Sets whether the clipboard converter is enabled.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 15.4 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.ClipboardConverter.SetEnabled"; Value )   More

Parameters

Parameter Description Example
Value Pass 1 to turn on and 0 to turn off. 1

Result

Returns OK or error.

Description

Sets whether the clipboard converter is enabled.
If enabled, we convert between XML text and FileMaker's XML.
You copy something in FileMaker like a couple of script steps, then switch to a text editor and do some search and replace. Then copy the text again and move to FileMaker to paste it.
If the clipboard doesn't contain XML in the right style, we do nothing.

This applies to copying layouts, script steps, scripts, custom functions, fields, tables and value lists.

Examples

Enable this feature:

Set Variable [ $r; Value: MBS("SyntaxColoring.ClipboardConverter.SetEnabled"; 1) ]

Example result: OK

Diesable this feature:

Set Variable [ $r; Value: MBS("SyntaxColoring.ClipboardConverter.SetEnabled"; 0) ]

Example result: OK

See also

Release notes

Blog Entries

This function is free to use.

Created 20th August 2025, last changed 12nd November 2025


SyntaxColoring.ClipboardConverter.GetEnabled - SyntaxColoring.ColorizeScript