Community
    • Login

    Autosave plugin

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    11 Posts 5 Posters 6.1k 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.
    • Michael VincentM
      Michael Vincent @Robk Blue
      last edited by

      @robk-blue said in Autosave plugin:

      I copied it the the C:\Users<username>\AppData\Roaming\Notepad++\plugins\config directory

      You put it in the wrong place. It needs to go in:

      C:\Users<username>\AppData\Roaming\Notepad++\plugins\AutoSave\AutoSave.dll

      directory. That is, you need to create a directory in the plugins directory (not plugins\config) with THE SAME NAME as the DLL file and then put the DLL in that newly created directory. Of course do this with N++ not running and then after launch N++.

      Cheers.

      Alan KilbornA Robk BlueR 3 Replies Last reply Reply Quote 3
      • Alan KilbornA
        Alan Kilborn @Michael Vincent
        last edited by

        @michael-vincent said in Autosave plugin:

        Of course do this with N++ not running

        Actually, I think doing it with N++ running is OK.

        1 Reply Last reply Reply Quote 3
        • Robk BlueR
          Robk Blue @Michael Vincent
          last edited by Robk Blue

          @michael-vincent

          Thanks for your clear response. I did what you recommended but it didn’t work. The autosave plugin came with two DLLs called ‘AutoSaveA.dll’ and ‘AutoSaveU.dll’. I tried naming the directory after both names at the location you specified.

          C:\Users<username>\AppData\Roaming\Notepad++\plugins\AutoSaveU
          C:\Users<username>\AppData\Roaming\Notepad++\plugins\AutoSaveU

          I even restarted npp but they are not appearing in the plugins admin. Any other ideas?

          In the meantime, I’ll see if I can track down another autosave plugin.

          1 Reply Last reply Reply Quote 0
          • Robk BlueR
            Robk Blue @Michael Vincent
            last edited by

            @michael-vincent

            NOTE: That’s weird, I just noticed that this web post is not showing the oblique between users and <username>.

            Robk BlueR 1 Reply Last reply Reply Quote 0
            • Robk BlueR
              Robk Blue @Robk Blue
              last edited by

              @robk-blue

              I did try just autosave as well.

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

                @robk-blue ,

                The autosave plugin came with two DLLs called ‘AutoSaveA.dll’ and ‘AutoSaveU.dll’

                What ancient version of AutoSave did you download that it still has the ASCII vs Unicode DLLs, and where did you get it from?

                And while we’re at it, what version of Notepad++ do you have? And no, “I have the latest version of npp installed” tells us nothing, because we have no idea where you get your information as to whether or not a version is latest. It would be much more useful to go to the ? menu in Notepad++, the Debug Info entry, and copy/paste that information into your post. And given that you claim that Plugins Admin doesn’t list AutoSave, when I just verified that a fresh download of v8.1.9.2 does list AutoSave, again strengthens my confusion about your version.

                Because all recent versions of Notepad++ have had AutoSave listed in the Plugins Admin list – I just checked, and while v7.6.3 (Jan 2019, the earliest stable Notepad++ with Plugins Admin) didn’t list AutoSave, Notepad++ v7.8.1 from Oct 2019 does have AutoSave v1.6 listed (I don’t have the in between versions on this computer right now to check when it entered Plugins Admin)

                And when I checked the earliest AutoSave at the official AutoSave repo at https://github.com/francostellari/NppPlugins/tree/main/AutoSave , v1.50 , doesn’t have the A vs U DLL files – it has a 32bit and a 64bit… but that’s to be expected, because all modern Notepad++'s come in 32bit and 64bit and you need to select the right bitness for your application.

                So, you need to check versions and share them with us, and let us know where you are downloading your application and plugin, because your information doesn’t match official download sources for the tools you are mentioning.

                Robk BlueR 1 Reply Last reply Reply Quote 2
                • Robk BlueR
                  Robk Blue @Robk Blue
                  last edited by

                  @robk-blue

                  I found the problem, I was running a much older version of npp. When I installed it recently after reinstalling Windows, I must have used an old download I had for npp and not updated it upon install. Once I updated it, the autosave plugin was available.

                  Thanks.

                  1 Reply Last reply Reply Quote 0
                  • Robk BlueR
                    Robk Blue @PeterJones
                    last edited by Robk Blue

                    @peterjones

                    Thanks, yeah I just worked it out. I genuinely thought I had installed the latest version of npp. A good point, to check the installation version. I also found the ‘right’ autosave version, ver 1.6.1

                    Robk BlueR Ross McMillanR 2 Replies Last reply Reply Quote 1
                    • Robk BlueR
                      Robk Blue @Robk Blue
                      last edited by Robk Blue

                      @robk-blue
                      For the knowledgebase, it looks like the latest version of npp as of this writing (8.1.9.2) does have autosave in the plugins admin by default.

                      1 Reply Last reply Reply Quote 1
                      • Ross McMillanR
                        Ross McMillan @Robk Blue
                        last edited by

                        @robk-blue A good argument for using Ninite or similar to update your software!

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