Save each folder track in project as track template with all information in it
The idea of this script is saving for current project each folder track as track template (together with all its subfolder tracks), with all information in them included (items, automations, if available or not). Saving should happen in project folder, in a subfolder 'folder_templates'.
Naming example:
Naming of templates for project.RPP could be as follows:
project_foldername.RTrackTemplate
Limiting it only to folders and not for each track is for simplifying things.
Background: Imagine you know from some older project you have a great kick, all fine-tuned, adjusted, midi mapped to your hardware controls and would like to reuse the entire thing. Mainly, including all the mappings, just load its 'folder template' into your current project, there you go. No need for double work.
Perfect would be if this .lua could be called from command line as a next step. Then we could convert all .RPP on our hard disk to their 'folder track template' variants, in their correct project subfolders. Thanks.
The big advantage of this script is all the hard work you did in the past, no matter if anything was saved as track template or not, is getting reusable for later work. Nicely sorted, folder by folder. The hard mapping and fine tuning work is not lost in the depths of your hard disk.
|