No internet connection
  1. Home
  2. How to

Remove Insert Plugin

By JON GOC @JON_GOC
    2020-02-05 15:00:37.041Z

    Hi,
    Is there a script, or a macro for removing plugin insert ?
    (for example insert 1, or for all insert of the track)
    Thanks

    Solved in post #3, click to view
    • 11 replies
    1. I think something like this should work (not tested in Pro Tools, just written from memory):

      sf.ui.proTools.selectedTrack.trackInsertOrSendSelect({
          insertOrSend: 'Insert',
          pluginNumber: 1,
          pluginPath: ['no plug-in']
      });
      
      1. J
        In reply toJON_GOC:
        JON GOC @JON_GOC
          2020-02-06 10:36:00.404Z2020-02-06 10:42:49.805Z

          Thanks Christian!
          with 'no insert' it works

          sf.ui.proTools.selectedTrack.trackInsertOrSendSelect({
              insertOrSend: 'Insert',
              pluginNumber: 1,
              pluginPath: ['no insert']
          });
          
          ReplySolution
          1. Brian Steckler @Brian_Steckler
              2023-06-12 19:38:34.783Z

              Is there a way to make this work on the Selected Insert as opposed to specific slots?

            • J
              In reply toJON_GOC:
              JON GOC @JON_GOC
                2020-02-06 10:38:37.822Z

                And if I want a script that remove all inserts on a track,
                should I write it for each plugin number or is there a shorter way ?

                1. Nice!
                  You can loop through 1-5 like this:

                  for(var i=1; i<=5; i++) {
                      sf.ui.proTools.selectedTrack.trackInsertOrSendSelect({
                          insertOrSend: 'Insert',
                          pluginNumber: i,
                          pluginPath: ['no insert']
                      });
                  }
                  
                  1. JJON GOC @JON_GOC
                      2020-02-06 11:09:56.533Z

                      Great, thank you Christian,
                      the process is a bit slow, cause it's one track after the other,
                      but it works !

                      1. This should do it for all selected tracks in one go (one for each plugin number, that is)

                        for(var i=1; i<=5; i++) {
                            sf.ui.proTools.selectedTrack.trackInsertOrSendSelect({
                                insertOrSend: 'Insert',
                                pluginNumber: i,
                                selectForAllSelectedTracks: true,
                                pluginPath: ['no insert']
                            });
                        }
                        
                        1. JJON GOC @JON_GOC
                            2020-02-07 09:16:20.272Z

                            Thank you Christian,
                            it's not really better, Protools lost itself between the plugin slot numbers...
                            But I guess it's not really possible since there is no command to do this in PT

                            1. SSreejesh Nair @Sreejesh_Nair
                                2020-02-10 08:47:38.404Z

                                While you can script it, the easiest way would be to have a track preset that has no plugins and recall that on selected tracks. :)

                                1. JJON GOC @JON_GOC
                                    2020-02-12 13:35:04.694Z

                                    Oh yes of course !
                                    Thank you Christian ;)

                                2. In reply tochrscheuer:
                                  TThomas Gloor @Thomas_Gloor
                                    2022-05-16 21:36:26.969Z

                                    hey @chrscheuer !

                                    I have a related question. Do you have an idea how I check if a track has a HARDWARE insert (I/O), and if so, bypass or inactivate all plugins that are before or after?

                                    Thanks!