Many thanks, works like a charm, if you have Joplin launched and have clicked on the desired notebook.
In OneNote, initiating windows+n does not just create a new note anywhere where the application was when you last used it, it actually goes into a specific notebook that you can indicate in your settings and there in that notebook it creates a new note. The user experience is one when all your “unfiled” notes (the ones you did not want to file before creating them as you were in a hurry) will always be available in the same notebook.
Can these steps be automated with AHK somehow ?
If Joplin was not active when you click the shortcut, then the only thing that happens is that Joplin launches but a new note is not created. Also, Joplin takes a noticeable time to launch all the while you’re just waiting. However, these issues can be solved same as with onenote, by automatically launching Joplin at boot.