User`s manual

12. Appendix B – Hydra scripting language definition v1.0
Barco – iStudio – R5976569 – user's manual – revision 09 – March-2007
__________________________________________________________________________________
12-19
12.3.4 Update script
Scenario written with a script
list init l
list + l l "2x2"
list + l l "4x4"
list + l l "audio"
list + l l "audio2"
list + l l "audio3"
list + l l "audio4"
list + l l "background"
list + l l "brochure"
list + l l "clock"
list + l l "clock2"
list + l l "clock3"
list + l l "clock4"
list + l l "clock5"
list + 1 1 "pictinpict"
list + l l "scramble"
list + 1 1 "video"
list + 1 1 "video2"
list total tot l
expr set c 0
expr set i 0
module module
message "start"
:show
list get name l c
expr + c c 1
expr < test c tot
goto test cont
expr set c 0
expr + i i 1
message i
:cont
load name
update module
sleep 15
goto 1 show
12.3.5 Window script
Changing window position
load "windowtest"
module module
expr set dirx -1
expr set diry -1
gosub 1 randx
gosub 1 randy
select 1
expr set resx 1023
get "width" width
expr - resx resx width
expr set resy 767
get "height" height
expr - resy resy height