GetScriptText (scriptName)

Result type:  text

Definition:  Returns the text of a named MWScript as a string. Why on earth would you need this? Well, you can store text other than actual scripts in the Script editor. For example, some boilerplate html, xml, or JSON data. Obviously such text will not compile as an MWScript if you attempt to activate, but it can be useful to be able to load such text for use in another script (e.g. some html and javascript for displaying a javascript chart).