ScriptWorkspace.SelectGroup
---------------------------

Selects a group of scripts.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ScriptWorkspace](component_ScriptWorkspace.md) | [16.1](newinversion161.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "ScriptWorkspace.SelectGroup"; Group { ; Expand } ) 

**MBS**( **"ScriptWorkspace.SelectGroup";** /\* Selects a group of scripts. \*/  
**$Group**; /\* The group name.e.g. "Invoices" \*/   
**$Expand**) /\* Optional; Whether to expand the item.  
Pass 1 to expand or 0 to keep it.e.g. 1 \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Group | The group name. | "Invoices" |  |
| Expand | Whether to expand the item.   Pass 1 to expand or 0 to keep it. | 1 | Optional |

### Result

Returns OK or error.

### Description

Selects a group of scripts.  
### Examples

Select a group:

 MBS ( "ScriptWorkspace.SelectGroup"; "Imports")  
### See also

- [ScriptWorkspace.SelectedLine](ScriptWorkspaceSelectedLine.md)
- [ScriptWorkspace.SelectedLines](ScriptWorkspaceSelectedLines.md)
- [ScriptWorkspace.SelectLine](ScriptWorkspaceSelectLine.md)
- [ScriptWorkspace.SelectLines](ScriptWorkspaceSelectLines.md)

### Release notes

- **Version 16.1**
    - Added [ScriptWorkspace.SelectGroup](https://www.mbsplugins.eu/ScriptWorkspaceSelectGroup.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 16.1pr1](https://www.mbsplugins.de/archive/2026-02-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 30th January 2026 , last changed 12nd February 2026

  
[ScriptWorkspace.ScrollToSelection](ScriptWorkspaceScrollToSelection.md) - [ScriptWorkspace.SelectLine](ScriptWorkspaceSelectLine.md)

[HTML Version](ScriptWorkspaceSelectGroup.shtml)