Insert a note with key command (Logical editor) on an empty event from project window

Hello, I would like to be able to create an empty event, press a key command that insert a 4 bar long note without having notes already in the event

I managed to have something that work, but it needs at least one pre existing note on my event to work


There must be already existing event to be able to insert another one.