Hi there,
I am working on a show where all dialogues of the show are ’subtitled’ to an LED screen in a "typewriter-like” design.
I used the ’Typewriter’ show file from the
QLab Cookbook which works great.
My only issue is that the script refers to a unique ‘cuenumber’, where our show has 700+ lines, which would make it tedious to prepare a workspace for it. I wouldn’t want anyone to manually change the cue number for each line in every script cues.
I was wondering if there would be a more elegant solution where the script cue (which could have a unique q number) could refer to the only “Text” cue within the group they’re into? Or any other suggestion?
Would you have any tips for me?
Many thanks!
Here is the script:
set thecuenumber to "T1" -- cue number of Titles cue this script controls
set speed to 0.02 -- gap between typed characters in seconds
set charPerLine to 48 -- Number of characters per line
tell application id "com.figure53.QLab.4" to tell front workspace
stop cue thecuenumber
set thetext to notes of cue thecuenumber
set thecount to number of characters in thetext
set the text of cue thecuenumber to " "
start cue thecuenumber
repeat with i from 1 to thecount
set thechar to text i thru i of thetext
set thetype to text 1 thru i of thetext
set custom message of cue "LIVE" to "/cue/" & thecuenumber & "/liveText \"" & thetype & "\""
delay speed
if i = thecount then start cue "FADE"
delay 1.0E-4
start cue "LIVE"
end repeat
end tell