No internet connection
  1. Home
  2. How to

Close all floating "Audio Suite" Windows Only

By Sean @SeanH
    2019-04-16 20:07:03.500Z

    I feel like this may be possible with scripting but haven't figured it out.

    I'd love a command similar to close all floating windows, except it ONLY closes audio suite windows, not real-time insert plugin windows that I have open.

    I run with a number of metering plugins that i always have open and not-targeted on a second display and I never really want to close. But then when I'm opening a bunch of differerent audio suite windows things can get messy and I want close just the audio suite windows that are open but leave my metering plugins in place.

    Solved in post #2, click to view
    • 2 replies
    1. This indeed is an important command to have - I use one all the time myself.

      Here's a script that will do it for you:

      //Close audio suite windows
      sf.ui.proTools.floatingWindows.whoseTitle.startsWith('Audio Suite').allItems.forEach(function (win) {
          try { win.windowClose(); } catch (err) { }
      });
      
      //Close Altiverb IR Browser
      sf.ui.proTools.windows.whoseTitle.startsWith('Altiverb').allItems.forEach(function (win) {
          try { win.windowClose(); } catch (err) { }
      });
      
      

      Note I made a separate script to close Altiverb's IR browser since it will have a different title, not starting with "Audio Suite"

      Reply2 LikesSolution
      1. SSean @SeanH
          2019-04-16 21:47:40.210Z

          thanks!