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.0   12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3    Statistic    FMM    Blog  


Queries text of current script.

Component Version macOS Windows Linux Server iOS SDK
ScriptWorkspace 10.1 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "ScriptWorkspace.StyledScriptText" { ; Mode } )   More


Parameter Description Example Flags
Mode The mode to use.
Can be HTML, RTF, StyledText or Text.
Default is StyledText.
"StyledText" Optional


Returns text or error.


Queries text of current script.
Can return text as styled text, plain text, html or rtf.

Maybe useful for automation workflows where you like to evaluate an expression by hotkey which puts current scripttext into a CMS for your website or writes to it to a text file to compare differences later.


Query text as styled text:

MBS( "ScriptWorkspace.StyledScriptText"; "StyledText")

See also

Release notes

Blog Entries

This function checks for a paid license.

Created 21st February 2020, last changed 21st February 2020

ScriptWorkspace.StepsVisible - ScriptWorkspace.Tabs

💬 Ask a question or report a problem

Start Chat