Skip to main content
Known Participant
August 1, 2025
Answered

Iterate add items to list - Automation Blocks

  • August 1, 2025
  • 1 reply
  • 209 views

Hey y'all,

 

Could you please help me figure out how to add items to a list as I am iterating through all items in a system folder?

 

I know I can do "list all" in a "for each" but I need to filter out what gets put into that list, and so far the best way I can see is iterate through that files inside that folder and add them to a list one by one.

 

Ultimately I need to compare what files are on disk and what files are imported into premiere and see what is missing.

 

Any help or advice would be greatly appreciated.

Correct answer Mathias Moehl

you can start with an empty list and the insert new elements step by step using the "Set in List" block.

 

Here is an example, which saves all files on the desktop into a list and then creates a filtered list containing only the video files (xml code attached).

 

1 reply

Mathias Moehl
Community Expert
Mathias MoehlCommunity ExpertCorrect answer
Community Expert
August 1, 2025

you can start with an empty list and the insert new elements step by step using the "Set in List" block.

 

Here is an example, which saves all files on the desktop into a list and then creates a filtered list containing only the video files (xml code attached).

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
GEditAuthor
Known Participant
August 1, 2025

Thank you very much @Mathias Moehl this is a huge help!! Brilliant.