Designer 11.02

A more recent release of this software is available. Please refer here to access documentation for other releases.

Skip to end of metadata
Go to start of metadata

There are many ways in which Designer can integrate with data, as it is essential a scripting language and therefore data handling is an intrinsic part of this scripting language. There are many ways to integrate with ScalaScript, and while many require programming skills, there are a few that can be done with limited to no programming skills whatsoever.

Designer integrates with your data in the following ways: 

MethodExplanation

Variables

All integration needs the basic understanding of Variables, This section goes through the methods of defining, using and displaying Scala Variables. There are a number of predefined system variables that can be used by the script as well as the ability to define your own. 

Textfile EX

The simplest form of data integration and one that needs little to no previous experience of programming.  Provides easy to repeat pages of information based on the content of the text file.

Data Source Module

Map data from XML files into Scala variables, with flexible control over data mapping and iteration. 

Data Driven Text Crawl

Drive the contents of a text-ticker from a Python or Windows script that connects to a data source, and prepares data for display. 

Text Style Tags

Scala supports inline text-style tags to format text in Text elements and TextCrawls. For example, "Hello <facecolor="#ff0000">world" changes the color of "world" to red. You can reach this by using the Help pull-down menu.

Connecting Flash and ScalaScript

When including a Flash object in a ScalaScript, you can pass data to the Flash clip, and have the ScalaScript wait for the Flash object to decide when to advance. 

Accessing Player Variables and Metadata

This page contains information on various ways to access player variables and metadata

Connecting HTML5 Web Clips and ScalaScript

This is another way in which Designer can integrate with your data.

When including an HTML5 object in a ScalaScript, you can pass data to the HTML object, and have the ScalaScript wait for the HTML object to decide when to advance.  Scala supplies a JavaScript file called scala.js (a sample of this file is also attached to this page) that lets you access certain features independent of whether your HTML/JavaScript is running on a classic Scala PC Player or Scala Android Player.

Integrating with Windows Host Scripting (WHS) Languages

A ScalaScript can invoke other scripts (usually Python or VBScript). Various topics are documented at Windows Scripting Introduction, including:

  • Sharing ScalaScript variables or arrays with Python (or VBScript) variables or arrays.
  • Methods to let the script sleep.
  • Methods to write messages to the Scala log.
  • Methods to report custom errors back to Content Manager.
  • Functions to manage access to Scala media files that take care of file-revision and locking issuesMethods that let a Python or VBScript (or other external process) download or create media files, and integrate them locally to the player, in a way that takes care of file-revision and locking issues.

Additional Windows Scripting integration notes can be found here. (A username and password is required to access this page.)

  • No labels