Toggle Pro Tools Pan Window
By Ben Chick @Ben_Chick
Is there a way to toggle open and close the (surround) pan window on the selected track within pro tools?
- BBrian Moseley @Brian_Moseley
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(); }