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


Enables Syntax coloring in FileMaker Scripts.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 3.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.Enable" )




Returns OK on success.


Enables Syntax coloring in FileMaker Scripts.
Our color syntax code is very careful. It registers a callback to change the color just before FileMaker draws a text in the table in script editor. If future FileMaker versions, change something there, it's most likely the plugin will simply stop coloring and FileMaker works as before.
Settings are saved in preferences files and you can use different settings in different FileMaker versions.
Works with FileMaker 11 or newer.
Syntax color can only be enabled in FileMaker Pro, not in server or runtime versions.
See also SyntaxColoring.Disable.
This setting can be set via the preferences dialog, too.


Enable or disable syntax coloring:

If (Enable)
      Set Variable [$r; MBS( "SyntaxColoring.Enable" )]
      Set Variable [$r; MBS( "SyntaxColoring.Disable" )]
end if

See also

Example Databases

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 11st November 2019

SyntaxColoring.DontOpenManageDatabaseDialogWithRelations.SetEnabled - SyntaxColoring.Enabled