You may have a list of music cues to play or want to sit in the house and hear all your effects for the show, this script will be your virtual operator pressing GO! for all your cues in your cue list.
// AutoPlay function will enumerate list A and play each cue in order
// Good for playing a list of music, not good for playing nested effects
// as this routine will enumerate all cue parts and ignores autofollows
// and waits
local assign @count = count list "A"
local assign @count = @count - 1
local assign @i = 0
FOR @i = 0 TO @count
local assign @duration = get index @i duration
play index @i
You can add this script to your production and either create a new button to fire the script or just run the script manually from the View | Command Interface.
exec script “AutoPlay”
The script will play a cue and wait until it is complete plus an additional two seconds (delay 2) before it fires the next cue.