Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Copies text of current script.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ScriptWorkspace | 9.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
SelectedOnly | Available in MBS FileMaker Plugin 9.5 or newer. Return only selected text lines. Default is 0. |
1 | Optional |
EndOfLine | The character for end of line within script steps, e.g. multi line comments. If not specified or empty, defaults to Char(13). |
Optional |
Returns text or error.
Query text with double <CR> for delimiter within comments:
MBS("ScriptWorkspace.ScriptText"; 0; "<CR>")
This function checks for a license.
Created 20th December 2018, last changed 16th November 2023
ScriptWorkspace.ScriptNames - ScriptWorkspace.ScriptsVisible