No internet connection
  1. Home
  2. How to

How to select multiple track output paths?

By Rob Byers @Rob_Byers
    2022-03-18 13:25:58.198Z

    I've read here that the "Select Track Output" command cannot be used to select multiple paths (i.e., routing a track to two different busses.) Is there another way to accomplish this?

    I'm building a script to automate the creation of stems for over 200 Pro Tools sessions, and this will save me a TON of time!

    -R

    • 6 replies
    1. Kitch Membery @Kitch2022-03-18 20:13:25.159Z

      Hi @Rob_Byers,

      Assigning multiple outputs to a track can be done like this;

      sf.ui.proTools.appActivateMainWindow();
      
      sf.ui.proTools.selectedTrack.outputPathButton.popupMenuSelect({
          isControl:true,
          menuPath:["bus","Bus 1-2 (Stereo)"]
      }); 
      

      On a related note... If you have not heard already, @Andrew_Scheps is releasing a very powerful SoundFlow App for bouncing stems in the upcoming weeks. Be sure to check it out!

      Rock on :-)

      1. RRob Byers @Rob_Byers
          2022-03-19 16:11:16.654Z

          Thank you, Kitch!

          Mr. Scheps is killing it with these Soundflow packages. Rock on, indeed!

          1. In reply toKitch:
            RRob Byers @Rob_Byers
              2022-03-19 16:28:29.504Z

              Kitch,

              I'm trying this code but am not figuring out how to use it to assign more than one output. I can configure it to route to any single output... I'm just not sure what the syntax is to make it select two outputs.

              -R

              1. Kitch Membery @Kitch2022-03-19 19:16:59.295Z

                Hi @Rob_Byers,

                The code I shared in the above post, simulates holding the "Control" key on your keyboard while assigning the output path.

                Note: If the output is indented, the menuPath will need to have four spaces before the output name.

                For example;

                If I wanted to select "Bus 1 (Mono)"

                sf.ui.proTools.appActivateMainWindow();
                
                sf.ui.proTools.selectedTrack.outputPathButton.popupMenuSelect({
                    isControl:true,
                    menuPath:["bus","    Bus 1 (Mono)"]
                }); 
                

                So... say you want to assign to both "Bus 1-2 (Stereo)" & "Bus 1 (Mono)" outputs, you'd use a script something like this;

                sf.ui.proTools.appActivateMainWindow();
                
                sf.ui.proTools.selectedTrack.outputPathButton.popupMenuSelect({
                    menuPath: ["bus", "Bus 1-2 (Stereo)"]
                });
                
                sf.ui.proTools.selectedTrack.outputPathButton.popupMenuSelect({
                    isControl: true,
                    menuPath: ["bus", "    Bus 1 (Mono)"]
                });
                

                Which will set your track outputs as follows;

                Let me know if that answers your question :-)

                Rock on!

                1. RRob Byers @Rob_Byers
                    2022-03-21 15:59:12.052Z

                    This is perfect! Thank you, @Kitch. Thank you for the explanation. This is going to save me hours of clicking!

                    1. Kitch Membery @Kitch2022-03-21 16:19:22.346Z

                      My pleasure @Rob_Byers :-)