-
Naming new comps with higher value every time
Hi! This is now my final stage until my first script is final!
One part of my script generates two new comps. The name of the comps are right now CompCut_001 and CompCut_002. Every time I run the script it generates two new ones but with the same name.
I would need a code that searches the project for folders named CompCut_xxx and if the script fineds “ComCut_002” the next one will be named “CompCut_003”.I have tried some with if and for but I can’t figure out how to get it to be named CompCut_xxx.
My script also generates a folder the first time you run it named “Comp Cuts” where all the comps goes, so if it could searched in that specific folder it would be perfect!
Hope you really can help me with this one because I’m stuck 🙁
Thanks!