Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

ScriptWorkspace.ScriptPaths

Queries list of script paths in Script Workspace.

Component Version macOS Windows Linux Server iOS SDK
ScriptWorkspace 14.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ScriptWorkspace.ScriptPaths" { ; SelectedOnly } )   More

Parameters

Parameter Description Example Flags
SelectedOnly Pass 1 to only get selected items. 1 Optional

Result

Returns list or error.

Description

Queries list of script paths in Script Workspace.
This provides tab separated list of the script names with folders in front.

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

Blog Entries

This function checks for a license.

Created 2nd November 2024, last changed 2nd November 2024


ScriptWorkspace.ScriptNames - ScriptWorkspace.ScriptText