Adobe Scripting Bulk Replacing .png Footage
Hello,
I am trying to write a script to Bulk Replace a lot of png files numerous times and then add them to the media Encoder.
The Projects I will be working with will be quite large so I am hesitant to use indexes for anything. However I just don't know how to get the contents of a project folder inside After effects?
A simplified structure looks like this
- comp
- comp
- folder1
- folder2
-- png 1
-- png 2
-- png 3
I want to be able to replace all the .png's with other png's on my system. As stated the system part works fine and is ready to go, but how do I specifically target all the .png's in this folder? Usually in programming languages you can just grab all children of something and loop through them but this doesn't seem to be the case.
So how do I get all elements inside a folder in after effects?
And in the next step do I just have to replace the footage and send it to the media encoder?
I have programming experience however this is my first time trying adobe scripting. Any help is gladly appreciated.
