Selecting every secong, third, fourth...etc. midi note

The attached gif shows how it is done:
SelectEachNNote.gif
Gr,
JHP