No internet connection
  1. Home
  2. How to

How to hide\show inactive tracks with streamdeck or keyboard trigger

By ant de @ant_de3
    2021-01-22 18:59:13.540Z

    Has anyone figured out the best way to hide\show inactive tracks with a streamdeck or keyboard trigger?

    Thanks everyone!

    • 4 replies
    1. samuel henriques @samuel_henriques
        2021-01-23 11:31:50.232Z

        Hello @ant_de3,

        Use this to hide inactive tracks,

        sf.ui.proTools.mainWindow.buttons.whoseTitle.is('Track List pop-up').first.popupMenuSelect({
            menuPath: ["Hide","Inactive Tracks"],
        });
        

        This to show all tracks:

        sf.ui.proTools.mainWindow.buttons.whoseTitle.is('Track List pop-up').first.popupMenuSelect({
            menuPath: ["Show All Tracks"],
        });
        

        or to show only inactive tracks

        sf.ui.proTools.mainWindow.buttons.whoseTitle.is('Track List pop-up').first.popupMenuSelect({
                menuPath: ["Show Only", "Inactive Tracks"],
        });
        

        Use these individually and either

        or check this video where Kitch explains stream decks:
        Deck Folders & Navigation with Stream Decks in SoundFlow

        hope it helps

        1. A
          In reply toant_de3:
          ant de @ant_de3
            2021-01-24 22:27:37.125Z

            Wow thank you so much @samuel_henriques! I'm not sure how this eluded me for so long. This is awesome.

            1. samuel henriques @samuel_henriques
                2021-01-24 22:41:40.193Z

                ahah, happy to help. And btw, I keep finding new ways to do stuff on pro tools all the time, from scripts other users post on the forum.
                have fun!

              • A
                In reply toant_de3:
                ant de @ant_de3
                  2021-01-24 22:58:45.001Z

                  Just got it all setup on the Streamdeck, this is bad ass. I didn't realize how powerful sf.ui.proTools.mainWindow.buttons.whoseTitle.is actually is. Opens up a whole world of scriptable commands. Again thanks a bunch Samuel.