

I was told to cut down on the number of cues I can replace all of these cues with a single script cue. I could just write a script that says:
set cue target of cue "A1" to cue "intro"
set cue target of cue "A2" to cue "intro"
set cue target of cue "A3" to cue "intro"
set cue target of cue "A4" to cue "intro"
set cue target of cue "A5" to cue "intro"
set cue target of cue "A6" to cue "intro"
set cue target of cue "A7" to cue "intro"
set cue target of cue "A8" to cue "intro"
set armed of cue "A1" to true
set armed of cue "A2" to true
set armed of cue "A3" to true
set armed of cue "A4" to true
set armed of cue "A5" to true
set armed of cue "A6" to true
set armed of cue "A7" to true
set armed of cue "A8" to true
but I'm wondering if anyone knows of a cleaner way to write a script that does this.
--
Contact support anytime: sup...@figure53.com
Follow QLab on Twitter: https://twitter.com/QLabApp
User Group Code of Conduct: https://qlab.app/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/9945e05d-eceb-4e07-ad3e-88bcc7237d59n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/712563b6-c333-4840-972e-78eaf12b0791n%40googlegroups.com.
tell application id "com.figure53.QLab.4" to tell front workspace
set cueNameList to {""}
set currentTIDs to AppleScript's text item delimiters
set currentCueName to ""
set thecuetargets to notes of cue "cueTargets"
set AppleScript's text item delimiters to ","
repeat with theitem from 1 to count of text items of thecuetargets
say text item theitem of thecuetargets
end repeat
set AppleScript's text item delimiters to currentTIDs
end tell