You have multiple Scripts that you want to start simultaneously. And you want to be able to control (Pause, Resume, Stop) all the Scripts with one button click. An example might be several Scripts configured as music playlists for different rooms (or zones).
For this sceneario, we will assume that you have already created multiple Scripts that you need to coordinate.
Create a Master Script - This will start all the other Scripts.
Add Run Script Steps - to this Master Script. And each Run Script Steps needs to be configured so that they will all execute simultaneously, rather than in sequential order.
3. Configure the Steps so They Start at the Same Time
Normally, Script Steps will execute in sequential order which means that each step waits for the previous step to complete before it starts. But in this case, you want all steps in the master script to start exactly at the same time. We achieve this effect by enabling the Offset Time of each 'Run Script' step.
In the Script Editor (Figure 2), select the Edit Steps button.
In the resulting Manage Script Steps list dialog, select a Step, then click the Edit button. This pops up the Step Editor (Figure 3).
Check the Enable Offset Time checkbox
Leave the Offset Time values set to 0,0,0,0. This tells the Automator to start this step at zero (0) seconds after the containing script starts to run (effectively start the step immediately).
Repeats the above procedure for all steps contained in the master script.
Select the Master Script from the Automator window. Click the Run Script button. Then confirm that all scripts begin executing immediately and that you can control them (Pause, Resume, Stop) as a group.