Closed bsmith96 closed 3 years ago
Probably:
You can load to time with applescript.
Early draft - just load selected cue to time of duration and fire? To launch the loops?
Also!
Perhaps a single script with a variable to decide between the two, when setting up the show
Make two version perhaps?
"Load selected cue to loop"
And
"Load all previous cues to loop" (obviously excluding those that would have stopped)
The second, coupled with the "load previous desk cue" could be very helpful for tech
First draft done
Maybe try:
Define a function for audio cues to check for - infinite loop
Go four (?) Levels deep in groups, if cue is audio then run function else if cue is group: go deeper
Add infinite loop audio cues to the next item in a list
Define a function for fade and stop/stop cues to to check if they target any cues in a list, and if they do, delete that item from the list
For each item in the resulting list, load to end and start.
This method would NOT work if you target groups with a stop or fade and stop cue.
I guess the solution to that is to make a separate list of all groups that contain an infinite loop cue (or to target the largest group with the load to time?).
Something along the lines of "if the stop targets the audio or the parent of the audio or the parent of the parent of the audio" etc. But stop if the relevant parent is q list "Main Cue List" (or just "a cue list"?)
Repeat 5 times
If parent of theCue is not a cue list then
Set theCue to parent of theCue
End if
End repeat
(Could put the "is this targeted by a stop?" Check in the middle of the above snippet?)
Would this work for devamps too?
There are applescript things for cue infinite loop and last slice infinite loop, but not middle slice infinite loop, so this may not work
This worked surprisingly well
Similar to adapted load group to start of selected child, but one which finds any sfx that would currently be looping and haven't been stopped yet, and loads them / starts them