Digi-Frame DF-1710 User Manual page 40

Table of Contents

Advertisement

Comments in Script Files
Any line beginning with the character "#" is ignored by the DF-1710 and may be used for descriptive
comments in the script file.
Nested Script Files
Script files can reference other script files. This is referred to as "nesting" script files. The nested script files
must conform to the same format requirements as main script files, and have a file extension of ".txt". Any
reference to a file with an extension of ".txt" encountered in a script file is treated as a nested script. When a
nested script is encountered it executes like a subroutine. Nested script files do not loop – they play once and
then return control to the main script file.
As an example of script file nesting, you might have a main script file script.txt something like this:
company_song.mp3
company_logo.jpg
../daily_stuff/todays_events.txt
campus_picture.jpg
mission_statement.jpg
../daily_stuff/todays_events.txt
presidents_message.mpg
Note that in this example the media files for the material to be updated daily, including the nested script
"todays_events.txt", is stored in a directory called "daily_stuff", while the introduction and end of the
presentation are stored in another directory at the same hierarchy level.
The nested script "todays_events.txt" might look like this:
visitors.jpg
softball_standings.jpg
sales_to_date.jpg
employee_of_the_day.jpg
Each time the nested script is referenced by the main script its items are played once through. In this example,
nesting the "daily stuff" keeps the main script cleaner and more organized by reducing it to one line each time
it repeats in the main script.
Referencing Remote Media Items and Scripts in Script Files
In addition to referencing locally-stored media items directly, script files can reference remotely-located media
items and scripts via http or ftp (see other sections for more information on "pull" mode).
You can reference a remotely-located media item in a local script as in the following example:
http://www.myserver.com/picture1.jpg
or, you can reference a script residing on a remote server:
http://www.myserver.com/remote.txt
40
User_Manual_RP3001k.doc

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DF-1710 and is the answer not in the manual?

Table of Contents