How to create this macro (select all notes to the right of currently selected note and move)

Hello, I would like to transform the lenght of the note D to a new value then select all notes to the right of the selected note D, then move them all to the right so that the second note E starts when D ends (no overlap). Then at the end of the macro I would like to have the second note E selected.

  1. Make the selected note as long as the current quantize value
  2. Move all notes to the right of D by the same amount so there is no overlap
  3. Select the second note

Any expert can help ?

Thanks

I don’t think this is possible.

You could do Step 1 by Quantizing the Length. But there isn’t anyway to capture the change in length value to perform step 2.