This Lua code allows you to trigger and EXTERNAL TEXT FILE as a lua script:
dofile('D:\\current_show.txt')
If nothing else, this makes it MUCH easier to edit code quickly once you know what you are doing. In the attached zip file, you will find that text file. ALL it does is "name" some variables. Unzip this and the other files to your D drive of your Palette.
Then, in the FIRST cue of your show, you have the following code:
dofile('D:\\current_show.txt')
dofile('D:\\LuaCode\\current_show_start.txt')
In the LAST cue of ACT 1, you have the following code:
dofile('D:\\current_show.txt')
dofile('D:\\LuaCode\\current_show_interval_start.txt')
In the FIRST cue of ACT 2, you have the following code:
dofile('D:\\current_show.txt')
dofile('D:\\LuaCode\\current_show_interval_end.txt')
In the LAST cue of the show, you have the following code:
dofile('D:\\current_show.txt')
dofile('D:\\LuaCode\\current_show_end.txt')
... a Text file is created, and then added to every time you run your show. In there you will find something like:
THEN - if you wanted to note the time of an incident or happening, you could have a macro ready to trigger that does this:Show Report for Paragram Theatre Company production of Moving Pictures on 09/04/07
14:37:42 - House Lights down and show commenced
14:37:42 - House Lights up for interval
14:37:42 - House Lights down and Act 2 commenced
14:37:43 - House Lights up and show complete
---
dofile('D:\\current_show.txt')
dofile('D:\\LuaCode\\current_show_incident.txt')
... and this is added to your text file
THEN - if you turn ON the web browser already built into your Palette, and this text file was saved into the web folder as "index.html" (instead of its current name), your stage manager could access and download the report by simply dialing in the IP address of the console. You would do this by replacing this line in each text file:INCIDENT... Occurred for Paragram Theatre Company production of Moving Pictures on 09/04/07
15:16:09
local f = io.open(ReportLocation..ShowName..'_showreport.txt', 'a')
with
local f = io.open('d:\\webserver\\index.html', 'a')
(not sure if that is the right path on a Palette - but it is something like that)