Inserting a number of lines in a note or effect column

This would be the equivalent of pressing inserted x number of times in a pattern.

Anyone have suggestions on how to do it?

I’m working on a script that copies notes/fx to a new line but I want it to have the option of moving notes out the way first so they don’t get overwritten.