| 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 few seconds with a big database! On Windows we may store the xml in a temporary file while the window is open.
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.
You can customize the search.html file. You find it within the bundle for the Mac plugin. Copy it to the extensions folder. You can customize it and whenever the window opens, we check if the search.html is in the extensions folder and use that one. Your customization may use the same https://monkeybreadsoftware.com/ URLs to jump to scripts. Or trigger scripts via fmp:// URLs.
Examples
Turn the feature on:
MBS( "SyntaxColoring.ScriptSearchButton.SetEnabled"; 1 )
Turn the feature off:
MBS( "SyntaxColoring.ScriptSearchButton.SetEnabled"; 0 )
See also
- SyntaxColoring.ScriptGoToBox.GetEnabled
- SyntaxColoring.ScriptGoToBox.SetEnabled
- SyntaxColoring.ScriptSearchBox.GetEnabled
- SyntaxColoring.ScriptSearchBox.SetEnabled
- SyntaxColoring.ScriptSearchBox.SetRegEx
- SyntaxColoring.ScriptSearchBox.SetText
- SyntaxColoring.ScriptSearchButton.GetEnabled
Release notes
- Version 16.0
- Added SyntaxColoring.ScriptSearchButton.GetEnabled and SyntaxColoring.ScriptSearchButton.SetEnabled functions.
Blog Entries
- Building a Smarter Search: Inside the MBS Script Search
- Script Search in MBS Plugin: Finally, a Search That Works the Way You Think
- Search all Scripts improved
- MBS FileMaker Plugin 16.0 News
- Neues MBS Plugin 16.0 für Claris FileMaker
- MBS Plugin 16.0 for Claris FileMaker - More than 7800 functions in one plugin
- Search all scripts with MBS Plugin
- MBS FileMaker Plugin, version 16.0pr5
This function is free to use.
Created 28th December 2025, last changed 14th May 2026
SyntaxColoring.ScriptSearchButton.GetEnabled - SyntaxColoring.SetAddFindbars
MarkDown version: SyntaxColoringScriptSearchButtonSetEnabled.md