Component: ScriptWorkspace 
---------------------------

Control Claris FileMaker's Script Workspace on macOS.

Get for tools working on the database design reports and linking back to the scripts.  
The Script Workspace window needs to be open.

| Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|
| [7.4](newinversion74.md "First functions introduced with version 7.4.") / [16.3](newinversion163.md "Newest functions in version 16.3.") | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

  
| Item | Details |
|:--|:--|
| [ScriptWorkspace.BringToFront](ScriptWorkspaceBringToFront.md)   Brings the Script Workspace window to front. | Mac only   7.4 |
| [ScriptWorkspace.CopyScriptText](ScriptWorkspaceCopyScriptText.md)   Copies current script in Script Workspace to clipboard. | Mac only   10.1 |
| [ScriptWorkspace.CurrentTab](ScriptWorkspaceCurrentTab.md)   Queries current tab title. | Mac only   7.4 |
| [ScriptWorkspace.ExpandScriptFolders](ScriptWorkspaceExpandScriptFolders.md)   Expands all scripts in the Script Workspace. | Mac only   7.4 |
| [ScriptWorkspace.GetBackgroundColor](ScriptWorkspaceGetBackgroundColor.md)   Queries the current color of the script workspace background. | Mac only   15.3 |
| [ScriptWorkspace.GetScriptListSearch](ScriptWorkspaceGetScriptListSearch.md)   Queries search field in script list search. | Mac only   10.0 |
| [ScriptWorkspace.IsActive](ScriptWorkspaceIsActive.md)   Checks if front window with focus is Script Workspace. | Mac only   10.0 |
| [ScriptWorkspace.IsFocusOnScriptList](ScriptWorkspaceIsFocusOnScriptList.md)   Queries whether the focus is to the script list in the Script Workspace. | Mac only   15.2 |
| [ScriptWorkspace.IsVisible](ScriptWorkspaceIsVisible.md)   Checks whether Script Workspace is visible. | Mac only   7.4 |
| [ScriptWorkspace.LineCount](ScriptWorkspaceLineCount.md)   Queries line count of current script. | Mac only   7.4 |
| [ScriptWorkspace.OpenScript](ScriptWorkspaceOpenScript.md)   Opens a script by name. | Mac only   7.4 |
| [ScriptWorkspace.ScriptNames](ScriptWorkspaceScriptNames.md)   Queries list of script names in Script Workspace. | Mac only   7.4 |
| [ScriptWorkspace.ScriptPaths](ScriptWorkspaceScriptPaths.md)   Queries list of script paths in Script Workspace. | Mac only   14.5 |
| [ScriptWorkspace.ScriptText](ScriptWorkspaceScriptText.md)   Copies text of current script. | Mac only   9.0 |
| [ScriptWorkspace.ScriptsVisible](ScriptWorkspaceScriptsVisible.md)   Queries whether scripts are visible. | Mac only   7.5 |
| [ScriptWorkspace.ScrollToLine](ScriptWorkspaceScrollToLine.md)   Scrolls to line to make it visible. | Mac only   9.0 |
| [ScriptWorkspace.ScrollToSelection](ScriptWorkspaceScrollToSelection.md)   Scrolls to current selected line. | Mac only   9.0 |
| [ScriptWorkspace.SelectGroup](ScriptWorkspaceSelectGroup.md)   Selects a group of scripts. | Mac only   16.1 |
| [ScriptWorkspace.SelectLine](ScriptWorkspaceSelectLine.md)   Selects a line in current script. | Mac only   7.4 |
| [ScriptWorkspace.SelectLines](ScriptWorkspaceSelectLines.md)   Selects lines in current script. | Mac only   9.0 |
| [ScriptWorkspace.SelectedLine](ScriptWorkspaceSelectedLine.md)   Queries selected line. | Mac only   7.4 |
| [ScriptWorkspace.SelectedLines](ScriptWorkspaceSelectedLines.md)   Queries selected line numbers. | Mac only   10.0 |
| [ScriptWorkspace.SetBackgroundColor](ScriptWorkspaceSetBackgroundColor.md)   Sets background color of script workspace. | Mac only   15.3 |
| [ScriptWorkspace.SetFocusToScriptList](ScriptWorkspaceSetFocusToScriptList.md)   Set the focus to the script list in the Script Workspace. | Mac only   15.2 |
| [ScriptWorkspace.SetScriptListSearch](ScriptWorkspaceSetScriptListSearch.md)   Sets search field in script list in Script Workspace. | Mac only   10.0 |
| [ScriptWorkspace.Steps](ScriptWorkspaceSteps.md)  **New in 16.3**    Queries the list of script steps in the Script Workspace. | Mac only   16.3 |
| [ScriptWorkspace.StepsVisible](ScriptWorkspaceStepsVisible.md)   Queries whether steps are visible. | Mac only   7.5 |
| [ScriptWorkspace.StyledScriptText](ScriptWorkspaceStyledScriptText.md)   Queries text of current script. | Mac only   10.1 |
| [ScriptWorkspace.Tabs](ScriptWorkspaceTabs.md)   Queries list of tabs in Script Workspace. | Mac only   7.4 |
| [ScriptWorkspace.Title](ScriptWorkspaceTitle.md)   Queries title of front Script Workspace. | Mac only   7.4 |
| [ScriptWorkspace.TriggerScripts](ScriptWorkspaceTriggerScripts.md)   Triggers scripts list visibility. | Mac only   7.5 |
| [ScriptWorkspace.TriggerSteps](ScriptWorkspaceTriggerSteps.md)   Triggers script steps list visibility. | Mac only   7.5 |
| [ScriptWorkspace.Window](ScriptWorkspaceWindow.md)   Queries window ID for the Script Workspace. | Mac only   7.4 |

33 functions shown.

These functions require a license (82%).

### Release notes

- **Version 16.1**
    - Added group parameter to [ScriptWorkspace.OpenScript](https://www.mbsplugins.eu/ScriptWorkspaceOpenScript.shtml) function.
    - Added [ScriptWorkspace.SelectGroup](https://www.mbsplugins.eu/ScriptWorkspaceSelectGroup.shtml) function.
- **Version 15.5**
    - Fixed [ScriptWorkspace](https://www.mbsplugins.eu/component_ScriptWorkspace.shtml) functions to better find the frontmost script workspace window.
- **Version 15.3**
    - Added [ScriptWorkspace.GetBackgroundColor](https://www.mbsplugins.eu/ScriptWorkspaceGetBackgroundColor.shtml) and [ScriptWorkspace.SetBackgroundColor](https://www.mbsplugins.eu/ScriptWorkspaceSetBackgroundColor.shtml) functions.
    - Added SelectedOnly and EndOfLine parameters for [ScriptWorkspace.StyledScriptText](https://www.mbsplugins.eu/ScriptWorkspaceStyledScriptText.shtml) function.
- **Version 15.2**
    - Added [ScriptWorkspace.IsFocusOnScriptList](https://www.mbsplugins.eu/ScriptWorkspaceIsFocusOnScriptList.shtml) and [ScriptWorkspace.SetFocusToScriptList](https://www.mbsplugins.eu/ScriptWorkspaceSetFocusToScriptList.shtml) functions.
    - Implemented text selector for [ScriptWorkspace.StyledScriptText](https://www.mbsplugins.eu/ScriptWorkspaceStyledScriptText.shtml) function.
- **Version 11.2**
    - Added EndOfLine parameter for [ScriptWorkspace.ScriptText](https://www.mbsplugins.eu/ScriptWorkspaceScriptText.shtml) function.
- **Version 11.1**
    - Changed [ScriptWorkspace.OpenScript](https://www.mbsplugins.eu/ScriptWorkspaceOpenScript.shtml) to remove search string for script search if script is not found.
- **Version 10.1**
    - Added [ScriptWorkspace.StyledScriptText](https://www.mbsplugins.eu/ScriptWorkspaceStyledScriptText.shtml) and [ScriptWorkspace.CopyScriptText](https://www.mbsplugins.eu/ScriptWorkspaceCopyScriptText.shtml) functions.
    - Fixed [ScriptWorkspace.ScriptText](https://www.mbsplugins.eu/ScriptWorkspaceScriptText.shtml) and related to copy script with tab characters included.
- **Version 10.0**
    - Added [ScriptWorkspace.GetScriptListSearch](https://www.mbsplugins.eu/ScriptWorkspaceGetScriptListSearch.shtml) and [ScriptWorkspace.SetScriptListSearch](https://www.mbsplugins.eu/ScriptWorkspaceSetScriptListSearch.shtml) functions.
    - Added [ScriptWorkspace.IsActive](https://www.mbsplugins.eu/ScriptWorkspaceIsActive.shtml) function.
    - Added [ScriptWorkspace.SelectedLines](https://www.mbsplugins.eu/ScriptWorkspaceSelectedLines.shtml) function.
    - Fixed bug in [ScriptWorkspace.SelectLines](https://www.mbsplugins.eu/ScriptWorkspaceSelectLines.shtml) with negative row numbers.
- **Version 9.5**
    - Added SelectedOnly parameter for [ScriptWorkspace.ScriptText](http://www.mbsplugins.eu/ScriptWorkspaceScriptText.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin 16.1 News](https://www.mbsplugins.de/archive/2026-03-31/MBS_FileMaker_Plugin_161_News/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.5pr6](https://www.mbsplugins.de/archive/2025-11-09/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [New MBS FileMaker Plugin 9.0](https://www.mbsplugins.de/archive/2019-01-22/New_MBS_FileMaker_Plugin_90/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 9.0](https://www.mbsplugins.de/archive/2019-01-22/Neues_MBS_FileMaker_Plugin_90/monkeybreadsoftware_blog_filemaker)
- [5000 Functions in MBS Plugin](https://www.mbsplugins.de/archive/2017-11-11/5000_Functions_in_MBS_Plugin/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 7.4 - More than 4900 Functions In One Plugin](https://www.mbsplugins.de/archive/2017-09-26/MBS_FileMaker_Plugin_74_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 7.4pr2](https://www.mbsplugins.de/archive/2017-08-14/MBS_FileMaker_Plugin_version_7/monkeybreadsoftware_blog_filemaker)

[HTML Version](component_ScriptWorkspace.shtml)