I try to explain:
All my projects start with the same configuration: lots of scenes, vectors and images that need to be precomposed, organized and linked to their own controllers on the top level comps. The footage is organized in their respective folders on my system, so I want to automatically import the project structure from footage folder and create the comps and controls I need, based on that structure and a code system in the footage names (ie: 1.1-Plane_One-Planes.eps, 2.3-Building_B-City_One.png,…), and put all comps in the correct folder on the project.
That said, one of the common tasks I have to do is to walk over several tree structures: folders, Project Ãtems, layers and properties, and my idea was to make a prototype of recurisive function to do the walk, and adapt it for each access type.
I hope it is understandable XD