Automate creation of parent/child structure
I'd like to automate a common procedure in Reaper (to me), which transforms selected tracks into a simple parent/child-track structure.
For example, you could select a row of tracks that are become child tracks under a parent track. And then, make a function which starts by looking at which tracks are currently selected, and then creates a new track above the selected tracks, then transforms the selected tracks into child tracks under the newly created track (parent) above them, and finally releases the selection.
The difference between this, and simply grabbing the selected tracks and sliding then in under a track to make them children under the above track, is that the above track is usually already occupied by another role in the project. It cannot function as a parent track. One needs to create a new track, possibly some people will want to create a new track plus apply a track template on it too, and then make selected tracks into children under it.
I imagine such a function may even be available out there, as a EEL/LUA script, although I've never seen it?
Or if not, is there a way to create such a function without EEL, LUA or PY? I couldn't seem to find any relevant enough actions to build a macro/custom action from.
Thx for any input
/C
__________________
There are only two kinds of people in the world: those who entertain, and those who are absurd.
- Britney Spears
Last edited by Colox; 02-20-2019 at 06:33 AM.
|