Sometimes different performances call for different cues. When this workspace opens, it lets you select a cue list out of a choice of eight. In this example, we suppose that a show requires a different set of cues for each day of the week and two sets for Saturday; one for the matinée, and one for the evening. It's easily adapted for other uses; you could have 21 choices for the morning, afternoon, and evening of each day. Or you could have just two choices for afternoon or evening performances. It also defaults to a choice called "Auto" which will read the system clock and go to the appropriate cue list automatically.
Here it is in action:
This workspace demonstrates a few fairly advanced techniques:
To make a cue automatically run when a workspace is opened, go to Workspace Settings → General and check the box labeled "When workspace opens, start cue number:", then enter the number of the cue you want to run in the adjacent text box:
In the example, cue SEL is tucked away in a cue list called Scripts.
There are two important things to note. First, the checkbox labeled "Run in separate process", found in the lower right of the Script tab of the inspector, is not checked. Second, there is a one second pre-wait on the Script cue. Because the script is the first thing to happen when the workspace is opened, it doesn't yet know it is the front workspace. The pre-wait just makes sure that the workspace is completely open and has definitely become the active workspace before the script is run.
Here's the script:
Loading...
The script first creates a list of performances. It then gets the date from the Mac system clock and extracts the weekday and the hour of the time. It then presents a dialog box with all the cue lists available and waits for the operator to make a selection. If the operator selects "Auto", which is the default, the weekday and hour are used to determine which cue list is the appropriate one to open. The script also contains some code to respond appropriately if the cancel button is pressed.