Mattes H. - 2019-12-27

Hi All,

while working again on the AppLauncher, I found a quite convenient way to enable and disable the function "WaitForClose".

WaitForClose means, that the process calling notepad.exe is in normal case expecting, that the process return means, that the corresponding file was saved and closed. (This is the behavior of notepad.exe.)
When now routing the call for edit to Notepad++ this would normally not block, because of NPP's nature.
So WaitForClose emulates this behavior by putting th eprocess to blocking, adding a systemtray icon for this doc and wait for a message from NppLauncherPlugin in case the text was closed in NPP before releasing the process.

This behavior can be useful / crucial and annoying...

To give more freedom to the user, I added now the possibility to enable and disable the feature from context menu.
1. Disabling in systemtray context:
Systray-Context-Disable

  1. Enabling in Notepad++ -> Plugins -> NppLauncherPlugin:
    NppLauncherPlugin-Enable

The feature is so far implemented and runs now some days testing on different machines before releasing to public.

Let me know your thoughts if you have some comments.
Regards, Mattes

 

Last edit: Mattes H. 2019-12-27