Logical Editor: Please add a "Note Number in Chord (highest = 0)"

Hi,

I have made this Macro some years ago. Here I posted the snipped, how to do so.