Mac users interested in Midistroke program generally download:
midiStroke is an application that converts midi note, program or CC messages into keystrokes. Any single midi message can trigger as many keystrokes as you like, in order. So, you can use one note on message to select all, copy, move to the right, paste, move right and paste again.