Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3    Statistic    FMM    Blog  

ScriptWorkspace.ScriptText

Copies text of current script.

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

Parameters

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

Result

Returns text or error.

Description

Copies text of current script.
Same as copy button in script workspace.

Examples

Query text with double <CR> for delimiter within comments:

MBS("ScriptWorkspace.ScriptText"; 0; "<CR>")

See also

Release notes

Blog Entries

Created 20th December 2018, last changed 11st May 2021


ScriptWorkspace.ScriptNames - ScriptWorkspace.ScriptsVisible

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins

Start Chat