Macro Help ::: How to process unknown number of tracks?

I’ll sometimes do mastering in Cubase and like to import the mixes on to different tracks and line them up so the ends and beginnings have, for example, one second between them.

If I were to create a macro to do this, how could I make it repeat for each track until the last track without knowing the number of tracks?

I think the general approach would be:

  1. Move cursor to end of first event.
  2. Move transport one second.
  3. Select event on next track.
  4. Move that event to the cursor.

But how to do it for all tracks in the session with one macro?



Unfortunately there is no way, how to define this in Cubase’s Macro. You can’t make a loops (in sense of programming language).