Macro for copy track name and paste it on another track

Hi,

I’m wonder if there is a way to make a Macro that:

  1. Copys the track name of the first selected track
  2. Run Render in Place
  3. Renames the new track with the track name from nr. 1

Kindly,

Markus