No internet connection
  1. Home
  2. How to

Toggle Pro Tools Pan Window

By Ben Chick @Ben_Chick
    2022-08-09 13:34:37.180Z

    Is there a way to toggle open and close the (surround) pan window on the selected track within pro tools?

    • 1 replies
    1. B
      Brian Moseley @Brian_Moseley
        2024-10-04 15:39:32.851Z

        This is one of those features that really should exist in the Pro Tools Window menu, but doesn't.

        For anyone else searching for a solution like I was, I found that this line does the toggling:

        sf.ui.proTools.selectedTrack.trackOutputToggleShow();
        

        I wanted to write something that closed the pan window if it is open, so put in a check first

        // Check pan window is showing and toggle floating window
        if (sf.ui.proTools.mainTrackOutputWindow.isFocused){
            sf.ui.proTools.selectedTrack.trackOutputToggleShow();
        }
        // Repeat, for when the selected track doesn't match the pan window track
        if (sf.ui.proTools.mainTrackOutputWindow.isFocused){
            sf.ui.proTools.selectedTrack.trackOutputToggleShow();
        }