Using Markers Functions

This document shows how to create and use marker functions with a marker in the script. For more information on creating markers, see Markers.

Marker functions provide a way to perform specific actions when the script reaches a marker while scrolling. For example a script could be made to stop at a marker, delay for a set amount of time and then start again. A marker could be used to optn another file and then start scrolling. A marker could be made to exeute a URL request, which could be used to control an external device using a web server.

1. Show the Controller by pressing the Controller button. ControllerButton

2. Press the Marker button on the controller to display the list of markers. MarkerButton

4. Create a new marker if needed by pressing the New Marker button. The marker will be added to the end of the list of markers. NewButton

5. Press the detail button for a marker to see its details. DetailButton

6. Press Edit button to edit the list of marker functions. EditButton

7. Select a function to add to the marker from the list of functions. MarkerFunctions

8. Some funtions require parameters, enter the parameters as prompted.

 

Marker Function Description

Function

Description

Parameters

Toggle Play

If the script is scrolling it will be stopped, if the script is not scrolling it will be started.

None

Load File

The specified file will be opened.

Name of file to load

URL Request

The URL will be loaded.

URL to load

Restart

The script will return to the top and reset the timer if in use.

None

Delay

The specified delay will execute. The progress of the delay will be displayed in the bottom right corner of the screen.

The number of seconds to delay

 

Author Scripts with Functions in Marker Tags

Functions can be entered into the script's text content and automatically extracted with Marker Tags. Marker functions and properties are entered into the Marker names using a specific format. Functions are entered in angle brackets (<>) after the name, within the Start Tag and End Tag characters, and separated by commas.

In these examples, brackets ([ ]) are used as Marker Tags.

Example 1

[End of Script<delay=10,restart>]

This would create a marker called "End of Script". The marker will delay for 10 seconds (delay=10), and restart the script at the beginning (restart).

Example 2

[Conclusion<p,d=5,p,l=Next Speech>

This would create a marker called "Conclusion". The marker will pause the script (p), delay for five seconds (d=5), resume the script (p) and load a file called "Next Speech" (l=Next Script).

Example 3

[Part 2<p,d=3,p>]

This would create a marker with name "Part 1. The marker will pause the script (p), delay for three seconds (d=3), and continue (p).

Function

Command

Parameters

Toggle Play

p, pause, play

None

Load File

l, load, loadfile, load file

File Name

URL Request

u, url, urlrequest, url request

URL

Restart

r, restart

None

Delay

d, delay

Delay Time (seconds)

 

See Also:

Marker Tags

Markers