No internet connection
  1. Home
  2. How to

Bypass All Plugins On Selected Track

By Ian Bodzasi @Ian_Bodzasi
    2022-02-05 21:06:37.344Z

    What would be the best way to toggle bypass of all inserts on a selected track? I've found a few things on the forum to toggle between inactive/active, but looking specifically to bypass all. Thanks!

    Solved in post #2, click to view
    • 5 replies
    1. Pro Tools has a shortcut to toggle bypass on all inserts on the selected tracks. We can leverage that to make sure that it bypasses all inserts if SoundFlow can detect there are unbypassed inserts in the selected track. Something short and sweet like this:

      sf.ui.proTools.appActivateMainWindow();
      
      if (sf.ui.proTools.selectedTrack.invalidate().insertSelectorButtons.some(btn => !btn.value.value)) {
          sf.keyboard.press({ keys: "shift+a", repetitions: 2 });
      }
      
      
      ReplySolution
      1. Ian Bodzasi @Ian_Bodzasi
          2022-02-05 21:55:55.788Z

          Thanks Raphael! Why do I always forget about that key command? haha...every time I learn something new at this age, I think it pushes something else out :)

          1. No problem! Hahah, yeah I don't blame you, PT has so many shortcuts and features!

        • D
          In reply toIan_Bodzasi:
          David Archer @David_Archer
            2024-11-13 02:13:55.368Z

            I can't seem to get this to work. Whatever the track I have selected (focused), running this command snaps over to the very first track in the mix window. That track's insert button flashes briefly, but the insert does not actually bypass. Is there a way to get the command to address the selected track and 'toggle' vs what seems like a 'pulse' command? I'm a newbie and using a ton of your utilities, Raphael, just can't seem to get this to play ball!
            Thanks

            1. Hey @David_Archer, welcome to SoundFlow!

              Seems like things have changed with PT since I originally wrote this.
              Give this version a try:

              sf.ui.proTools.appActivate();
              sf.ui.proTools.mainWindow.invalidate();
              
              if (sf.ui.proTools.selectedTrack.insertSelectorButtons.some(btn => !btn.value.value)) {
                  sf.keyboard.press({ keys: "shift+a" });
              }