Howdy...
I've aimed this at you, Lokasana, because you seem to be so on the case of midi scripts... but really it might be for anyone.
Ok... so I have the set of lua's by tenfour and have them set up on a toolbar used in the arrange window... the ones inparticular are for 'insert held note..'
I use them with the Inline Editor view on a MIDI item.
So I can insert whatever notes are being held on the MIDI Keyboard at the edit cursor and by using each of the diff lua's the note will be a whole note or an eigth note, etc.
The problem is that the inserted notes remain selected.
I tried to make custom actions that would add the U key [unselect all notes for the Inline editor] but since we are dealing with Inline editor actions and also Main actions I can't get what I want.
So wondering what it would take to either:
Modify the tenfour scripts to unselect all notes after they are inserted.
Or to have a lua that would do that unselect all notes that I could use to add to a custom script for each of the tenfour 'insert held note' scripts.
Probably the first choice would be cleaner but I'd be happy with either way.
Maybe this already exists and I don't know of it.???