By Bergatron Music @Bergatron_Music
@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'
});
- 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!
Bergatron Music @Bergatron_Music
You're the man, @Kitch THANK YOU!!
Kitch Membery @Kitch2024-11-04 22:32:22.632Z
You are!
- In reply toKitch⬆:
Bergatron Music @Bergatron_Music
@Marek_Romanowski this will answer your issue here. Thank @Kitch
- MMarek Romanowski @Marek_Romanowski
Thanks a lot!