I’m having a go writing my first script but I can’t seem to wrap my head around why this isn’t working. I have 12 items in my project folder and 12 items in this array. What I’d like is for the first item to duplicate by the first number of the array (duplicate 3 times), then the second item to duplicate by the number in the 2nd array etc.
I think the main thing is that you’re trying to loop through the project items while you’re adding items. Without knowing how you have things set up, I’d guess you should probably first put all the comps you want to duplicate into an array and then loop through that.