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

SyntaxColoring.ScriptGoToBox.SetEnabled

Enables or disables script go to box.

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

Parameters

Parameter Description Example
Value The new setting. Pass 1 to show button or 0 to disable. 1

Result

Returns OK or error.

Description

Enables or disables script go to box.
MBS Plugin offers to add a go to box on macOS to the script editor and this function sets the preferences on whether it's added or not.
Does not work if Syntax Highlighting is off.
This setting can be set via the preferences dialog, too.

Examples

Disables go to box:

MBS("SyntaxColoring.ScriptGoToBox.SetEnabled"; 0)

Enables the go to box:

MBS("SyntaxColoring.ScriptGoToBox.SetEnabled"; 1)

Enable all the plugin enhancements for FileMaker:

MBS("SyntaxColoring.CopyButton.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptSearchBox.SetEnabled"; 1)
MBS("SyntaxColoring.ScriptGoTOBox.SetEnabled"; 1)
MBS("SyntaxColoring.RelationshipGraphSearchBox.SetEnabled"; 1)
MBS( "SyntaxColoring.CheckVariableDeclaration.Enable" )
MBS( "SyntaxColoring.LineNumbers.Enable" )
MBS( "SyntaxColoring.SetScriptHighlightColor"; "#CCCCFF" )

See also

Blog Entries

This function is free to use.

Created 10th October 2015, last changed 12nd September 2020


SyntaxColoring.ScriptGoToBox.GetEnabled - SyntaxColoring.ScriptIfLoopHighlight.GetEnabled