Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Apart from a file, an event for the story frame may also be a message. For such a message, no file has to be added to the scenario/script database. Instead, the contents of the message (a text string) can be specified directly in the script configuration. The message key takes an optional lang attribute as explained before. If the message contains an URL, then this URL is made clickable automatically.

Anchor
forecasttable
forecasttable

Forecast Table

The contents of the forecast table can be configured using the forecastTable key. The schema for this section is as follows:

...

With the publication of a forecast, a note can be attached. An optional initial text in this note field can be specified with the forecastNote key.

Anchor
dictionary
dictionary

Dictionary

A dictionary can be added to a script for helping the user to look up words and definitions. These words have to be configured in a dictionary file. The key dictionaryFile contains the path to such a dictionary file. This key may be specified an arbitrary number of times in the section dictionaryFiles. The schema for a dictionary file is as follows:
Image Modified

Anchor
example
example

Example

A complete example of a script configuration is given here:

...