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 Available in MBS FileMaker Plugin 14.5 or newer.
Pass 1 to only get selected items.
1 Optional

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.

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) ]

See also

Release notes

Blog Entries

This function checks for a license.

Created 13th August 2017, last changed 2nd November 2024


ScriptWorkspace.OpenScript - ScriptWorkspace.ScriptPaths