No internet connection
  1. Home
  2. How to

Elastic audio type selector no longer working

By Bergatron Music @Bergatron_Music
    2024-11-04 21:35:06.074Z

    @Kitch awhile back you helped me with an awesome script to set Elastic Audio to whatever setting I wanted on selected tracks. The script is no longer working. I just updated my ProTools, maybe that's the issue? The error prompt that pops up says the issue is on Line 5?

    System info:
    M2 Mac OS 14.5
    ProTools 2024.10
    SF v.5.9.0

    Here is the script:

    function setElasticAudioPlugin({ plugin }) {
        const track = sf.ui.proTools.selectedTrack;
        const elasticAudioOrAraPlugInSelector = track.popupButtons.whoseTitle.is("Elastic Audio or ARA Plug-in selector").first
    
        elasticAudioOrAraPlugInSelector.popupMenuSelect({
            menuPath: [plugin],
            isOption: true,
            isShift: true,
        });
    }
    
    sf.ui.proTools.appActivateMainWindow();
    
    setElasticAudioPlugin({
        plugin: 'Monophonic'
    });
    Solved in post #2, click to view
    • 5 replies
    1. Kitch Membery @Kitch2024-11-04 22:27:46.805Z

      Hi @Bergatron_Music,

      Try changing line 3 to...

      const elasticAudioOrAraPlugInSelector = track.popupButtons.whoseTitle.is("Elastic Audio or ARA Plugin selector").first
      

      Avid made a change in the most recent version of Pro Tools where all instances of "plug-in" had the hyphen removed.

      Rock on!

      ReplySolution
      1. Bergatron Music @Bergatron_Music
          2024-11-04 22:31:47.617Z

          You're the man, @Kitch THANK YOU!!

          1. Kitch Membery @Kitch2024-11-04 22:32:22.632Z

            You are!

          2. In reply toKitch:
            Bergatron Music @Bergatron_Music
              2024-11-06 12:31:47.440Z

              @Marek_Romanowski this will answer your issue here. Thank @Kitch

              1. MMarek Romanowski @Marek_Romanowski
                  2024-11-06 12:51:43.710Z

                  Thanks a lot!