| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
ScriptWorkspace.ScriptNames
Queries list of script names in Script Workspace.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| ScriptWorkspace | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ScriptWorkspace.ScriptNames" { ; SelectedOnly } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| SelectedOnly | Pass 1 to only get selected items. | 1 | Optional Added in version 14.5. |
Result
Returns list or error.
Description
Queries list of script names in Script Workspace.See also FM.ScriptNames to ask FileMaker instead of looking into the window.
This function includes folder names.
Examples
Query names and paths:
# List of the selected script names
Set Variable [ $r ; Value: MBS( "ScriptWorkspace.ScriptNames"; 1) ]
# List of the selected script paths in format Folder→Folder→Script
Set Variable [ $r ; Value: MBS( "ScriptWorkspace.ScriptPaths"; 1) ]
Set Variable [ $r ; Value: MBS( "ScriptWorkspace.ScriptNames"; 1) ]
# List of the selected script paths in format Folder→Folder→Script
Set Variable [ $r ; Value: MBS( "ScriptWorkspace.ScriptPaths"; 1) ]
See also
- FM.ScriptNames
- ScriptWorkspace.ScriptPaths
- ScriptWorkspace.ScriptsVisible
- ScriptWorkspace.ScriptText
- ScriptWorkspace.SelectLines
Release notes
- Version 8.4
- Fixed problem with copying list, so ScriptWorkspace.ScriptNames works again.
Blog Entries
This function checks for a license.
Created 13th August 2017, last changed 12nd May 2025