Win11 pinned taskbar icon middle click = new document
In Windows 11 I have pinned Notepad++ to my taskbar.
Left-clicking this icon opens the Notepad++ window if already running, otherwise the app is started.
When clicking this icon with the middle mouse button, I want my already running Notepad++ to open up with a New document tab in focus, ready for my notes immediately.
Right now when I want to quickly start a notepad to scribble down some notes, the already running Notepad++ opens up but only show me my current tabs. I have to manually click the [New] button before I can start writing my new notes.
Official feature request is here: https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11725
@martin-olsson This is a possible candidate for using a third-party “macro” program to create specific behaviour on your computer. I use a downloaded tool called “AutoHotkey” but I haven’t created with it recently.
As far as I remember, things that an AutoHotkey macro can do include:
Read the title bar of a program
Bring a program (Notepad++) to foreground and out of being minimized
Send a keystroke to a program (Ctrl N new document)
So you could have an icon on your screen that does all of that from one click.
Other options are possible, such as always waiting for YOU to foreground Notepad++ and THEN send Ctrl N each time, or, to see if the title bar says “new” for a newly created document already.
Or it could just make your middle mouse button send Ctrl N.