
Appendix A - Event Scripts
Events stored on action buttons can have a script attached to them to enable greater control of the
event assigned to that action button.
Scripts are available for automatically running or stopping action buttons, and for controlling audio
events (and video events on AV models).
The ShowMagic event script follows an XML-type ‘element’ format as follows:
1) ‘Elements’ are contained within ‘less-than’ and ‘greater-than’ characters. e.g.
<
video
>.
2) Element names and instructions are in lower-case with the exception of the DT and TG
items.
3) Each element has a start marker and an end marker with the end marker containing a ‘/’
before the element name. e.g. <video> ….. </video>
4) Instructions or values are contained within an elements’ start and end markers.
e.g. <video> <do> <timer>00:00:00</timer> <01> volume[100,0] </01> </do> </video>.
5) Any elements contained between a <do> start marker and a </do> end marker are performed
at the time (determined by the <timer>
nn
:
nn
:
nn
.
nn
</timer> element) that has elapsed since
that event was started.
6) Any elements contained within another elements’ start and end markers will be applied to
that first element.
e.g. <video> <do> <timer>00:00:00</timer> <01> volume[100,0] </01> </do> </video>
refers to the volume for video.
7) Because an event can possess more than one channel or file, a number is used to indicate
which channel/file the instruction is referring to. e.g. in a multi-channel audio event the
following instruction refers to the second channel:
<audio> <do> <timer>00:00:00</timer> <02> volume[100,0] </02> </do> </audio>
8) Comments (that are ignored by ShowMagic’s script interpreter) can be included in a script
(at the end of any line) by preceding them with two ‘/’ characters.
e.g.
<do> <timer>00:00:00</timer> <volume> … </volume> </do> // set volume.
If two ‘/’ characters are placed in front of a start marker then everything between that start
marker and it’s corresponding end marker are ignored.
E.g.
Section 16 - Appendix
205
Содержание AV
Страница 1: ...SLX Series User Manual Version 14 1 For SLX and SLX Plus Models www showmagic com ...
Страница 10: ...Experimental features should not effect the standard features of ShowMagic if you decide not to use them x ...
Страница 18: ......
Страница 44: ......
Страница 124: ......
Страница 162: ......
Страница 166: ......
Страница 210: ......
Страница 215: ...Section 16 Appendix Section 16 Appendix 203 ...
Страница 216: ......
Страница 230: ......