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

SyntaxColoring.ScriptSearchButton.SetEnabled

Sets whether we should show the search button to search all scripts.

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

Parameters

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

Result

Returns OK or error.

Description

Sets whether we should show the search button to search all scripts.
When enabled, the MBS Plugin adds a button to Script Workspace to search all scripts. On macOS we add it to the window title bar on the right and show a magnifying glass button. For Windows we add a regular button to the Script Workspace.

Once clicked, the plugin takes a snapshot of all the scripts in the Script Workspace. Then we open a window to show the search window and whatever results we have. Opening the window may take a minute with a big database!

You can search text in scripts and our plugin shows where the text is found with a little preview.

Keep the window open to perform multiple searches. When you are done, you can of course close it. The plugin closes the search window when you close the parent Script Workspace window.

On macOS you can click the result entry and jump to the script. The plugin searches the script by name, so please avoid multiple scripts with the same name in different groups.

See also

Release notes

Blog Entries

This function is free to use.

Created 28th December 2025, last changed 28th December 2025


SyntaxColoring.ScriptSearchButton.GetEnabled - SyntaxColoring.SetAddFindbars