Download Spyeworks 5.4: User Guide

Transcript
Spyeworks User Guide
INI Data
Data can be retrieved from text configuration files known as .ini
files. To retrieve data, a window is provided for easy
configuration:
INI data is particularly useful for retrieving information from a
configuration file, for use in other macros such as a SQL data
retrieval macro. For example, a wayfinding scenario requires an
LCD screen to display event scheduling for a specific
conference room. The media player will have an INI file that
indicates the room ID that should be used in retrieving
scheduling information from a SQL database.
The syntax for the INI macro is:
[src:ini;file path;section;key;default value;]
Parameters are separated by semicolon. The macro parameters are described as follows:
src:csv
file path
Section
Key
default value
© 2011 Spye LLC.
Indicates an INI data source.
The local file containing the INI data.
Section, example [settings]
Data key, example name=test
The value that will be used if the data is not available.
99