So there are plenty of tutorials for scripting in Adobe After Effects and lots of documentation. But, as I understand, this isn't the situation for Adobe Premiere Pro. I presume scripting is possible considering:
![69447b12e961459f9058620ab6164927.png]()
But I have absolutely no idea how to get started.
The end goal is to create a script that will look throughout all of my imported project files (for the current open Premiere Pro project) and then use the "replace footage" command to swap every file that meets a certain file name criteria with other files in a specified directory that meet the same criteria. So, for example, if I have:
DSTCNarration(1.1).flac
DSTCNarration(1.2).flac
DSTCBattle(BLURRED).mxf
SlowYellowMotion(BACK).mxf
DSTC(PREV).psd
imported into my project, then, when the script is run, it should prompt the user for a new file directory, which I would then enter manually, and then the script should automatically replace the five files above with five different files in the new specified directory by searching for files names based on certain file name criteria:
ARBITRARYNarration(1.1).flac
ARBITRARYNarration(1.2).flac
ARBITRARY(BLURRED).mxf
ARBITRARY(BACK).mxf
ARBITRARY(PREV).psd
And then if there are two files that meet the criteria or there isn't a file that meets the criteria, it could just return an error while still carrying out whatever other replacements that it can.
A script like this could save me tons of time. Rather than having to use "replace footage" for every clip individually and constantly navigating back to the same folder, it could all be done in one go for all of the files (as long as my new files are named appropriately).
So, is this even possible? Is scripting in Premiere Pro this advanced even possible? If so, how should I go about figuring out how to get a script to do this? Would creating a plugin be more suitable for something like this? Can any of you write a script that would do this?