Hi,I'm trying to adapt this script to allow multiple lines of titles to arrive one at a time (as separate cues), then fade out all together (as part of the cue to bring up a new line 1) after a given number of lines e.g. 4So it'd be:q - line 1q - line 2 (line 1 remains)q - line 3 (lines 1&2 remain)q - line 4 (lines 1,2&3 remain)q - fade out lines 1-4 and fade up a new line 1
tell application "TextEdit"
set thetext to the text of the front document
set thecount to the number of paragraphs in thetext
end tell
tell application id "com.figure53.QLab.4" to tell front workspace
repeat with i from 1 to thecount
set oldDelims to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"/"}
set theparagraph to ""
set thepad to ""
set thetitle to paragraph i of thetext
set theItemCount to number of text items in thetitle
repeat with i from 1 to theItemCount
make type "Text"
set selectedCues to selected as list
set newCue to last item of (selected as list)
set thecuenumber to q number of newCue
set theparagraph to theparagraph & (text item i of thetitle) & return
set thepad to " "
repeat with linepad from i to theItemCount
set thepad to thepad & return
end repeat
if thetitle is " " then
set q name of newCue to "BLANK"
else
set q name of newCue to thetitle
end if
set the text of newCue to theparagraph & thepad
end repeat
set AppleScript's text item delimiters to oldDelims
end repeat
end tell
There are various tweaks to the cue numbered MAKE and to the template cues for fades. The new workspace with an example text file is attached
Mic
tell application id "com.figure53.QLab.4" to tell front workspace
set thecues to every cue whose q type is "group"
repeat with eachcue in thecues
if the q name of eachcue is "Crossfade to BLANK" then
set the continue mode of eachcue to auto_follow
end if
end repeat
end tell
As in the V6 worlspace attached
Mic
One thing puzzles me - in the QLab cue list it talks of • (option 8) as a delimiter - but it seems to actually be / - or am I missing something?
set AppleScript's text item delimiters to {"/"}
--
Contact support anytime: sup...@figure53.com
Follow Figure 53 on Twitter: https://twitter.com/Figure53
User Group Code of Conduct: https://figure53.com/help/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/a07d4566-3626-4605-8993-686073106d9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Contact support anytime: sup...@figure53.com
Follow Figure 53 on Twitter: https://twitter.com/Figure53
User Group Code of Conduct: https://figure53.com/help/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/2B63891A-34D9-449D-8572-A4CFAF766593%40me.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/7255F161-F8F2-4212-8FD4-542E781CDCC7%40yoursoundsolution.co.uk.
would it be possible to add a way to insert black/blank slide ? like for example if a line contain _//_ no text will be added to a slide.
personally I find it better depending of the rhythm of the text to be able to go to a black before sending the next subtitle.
another point about the fade script : what do you think about using the trigger option "When starting the action of this cue : fade & stop peers over time _set the time from the script_" instead of generating a fade for the subsequent slide?
going this way one can freely navigate thru all the cues, if for example one of the actor missed some lines, whiteout fearing to have a text slide staying in the back and have to use the panic button to clear it.
thanks
hi Mic,would it be possible to add a way to insert black/blank slide ?
another point about the fade script : what do you think about using the trigger option "When starting the action of this cue : fade & stop peers over time _set the time from the script_" instead of generating a fade for the subsequent slide?
However, because text/title cues are rendered on a transparent background, unless you are snapping from one to another you need to be able to fade the preceding cue before fading in the next, otherwise you will have 2 lots of text visible.Mic
So what I did is setting the trigger option - fade & stop over time - on the first line of the group. So when you launch a group, the last slide is always faded, independently of if it’s the previous one or any other.So I can skip a few cues without fearing to have two texts on screen.
<Screen Shot 2019-06-02 at 08.56.50.png>
Mic
--
Contact support anytime: sup...@figure53.com
Follow Figure 53 on Twitter: https://twitter.com/Figure53
User Group Code of Conduct: https://figure53.com/help/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/f6013716-733d-4952-8737-d37324ebf8f8%40googlegroups.com.
<CreateMultiLineTitles from texteditv6 (Fade Peers).qlab4><Screen Shot 2019-06-02 at 08.56.50.png>