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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
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
- HotKey.Register
- HotKey.SetEvaluate
- ScriptWorkspace.CopyScriptText
- ScriptWorkspace.ScriptNames
- ScriptWorkspace.StyledScriptText
- SyntaxColoring.AddContextMenuCommand
Release notes
- Version 11.2
- Added EndOfLine parameter for ScriptWorkspace.ScriptText function.
- Version 10.1
- Fixed ScriptWorkspace.ScriptText and related to copy script with tab characters included.
- Version 9.5
- Added SelectedOnly parameter for ScriptWorkspace.ScriptText function.
- Version 9.0
- Added ScriptWorkspace.ScriptText function.
Blog Entries
- MBS FileMaker Plugin, version 11.2pr8
- MBS FileMaker Plugin, version 10.1pr5
- Define hot keys for functions in the FileMaker development
- MBS FileMaker Plugin, version 9.5pr7
- MBS FileMaker Plugin, version 8.6pr5
This function checks for a license.
Created 20th December 2018, last changed 11st May 2021
ScriptWorkspace.ScriptNames - ScriptWorkspace.ScriptsVisible
