Community
    • Login

    How to quit Notepad++ softly?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 4 Posters 484 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • guthubnikG
      guthubnik
      last edited by

      Hello,

      In my system I have configured Notepad++ to start by default with the start parameter --systemtray. But ´after a system restart the last settings of Notepad++ (or the all last words added to user dictionary) are lost, if I forget to close Notepad++ in system tray (via the context menu option “Close Tray Icon”).
      So I need to quit Notepad++ softly. But how? With which parameter? Something like notepad++ -quit would be nice.
      Then I can set in task scheduler what is automatically to do on system restart or on logoff.

      In “Notepad++ Command Argument Help” such command “quit” is not available.

      Thanks for help.

      dinkumoilD 1 Reply Last reply Reply Quote 0
      • dinkumoilD
        dinkumoil @guthubnik
        last edited by

        @guthubnik

        Try to use the TaskKill console command without the /f switch. This sends a WM_CLOSE message to the targeted process which likely is what you call a “soft quit”.

        1 Reply Last reply Reply Quote 2
        • guthubnikG
          guthubnik
          last edited by guthubnik

          Hello @dinkumoil

          with taskkill /IM notepad++.exe is not possible to close the Notepad++, if this is loaded in system tray. Only his windows would be closed, if it is open on the foreground, but not the process it self.

          But thanks for trying it!

          Maybe it is possibly to contact the author directly? And how?

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @guthubnik
            last edited by

            @guthubnik said in How to quit Notepad++ softly?:

            Maybe it is possibly to contact the author directly? And how?

            There really are no direct methods of contacting the author.
            The best you can do is open a new feature request, and instructions for doing that is one of the FAQ.

            1 Reply Last reply Reply Quote 1
            • guthubnikG
              guthubnik
              last edited by

              Hello @Alan-Kilborn,

              thank you for the FAQ link, but I cant “simply, click on the green New issue button, on the right”, because so one is not exist (all scripts are active in my browser). So I cant post new issue in this desk.

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @guthubnik
                last edited by PeterJones

                @guthubnik ,

                You don’t even have to be logged into github to have a green New Issue button. Just follow the link from the FAQ to the Issues page, and I see:

                7c68174e-37d6-443c-b820-66788df76704-image.png

                I am not sure how you aren’t getting that, unless you didn’t follow the link in the FAQ to the Notepad++ Issues Tracker

                guthubnikG 1 Reply Last reply Reply Quote 0
                • guthubnikG
                  guthubnik @PeterJones
                  last edited by guthubnik

                  @PeterJones,

                  sorry it was my mistake - I tried to search for this button it in FAQ desk.
                  Here is the issue:

                  Missing a command to close Notepad++ softly to avoid loss of recently changed settings (Issue: #8484)
                  https://github.com/notepad-plus-plus/notepad-plus-plus/issues/8484

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors