Is there a way to auto-connect the ends of MIDI notes to the

following MIDI notes? Either by way of the PLE, or some macro that can be created… anyone think of a way?
mdata.jpg

select the notes you want to connect
then menu MIDI > Functions > Legato

That works - thanks!