Autosave plugin
-
Hi,
I have the latest version of npp installed as off this writing and I can’t see any autosave plugin in the Plugins admin section in the menu. I had recently used an autosave plugin and had it set to save my open file when I navigated out of the npp active window.
I know that the backup feature in settings somewhat caters to the auto save function but I like the visual cue of the disk icon in the tool bar changing colour when a file is saved.
I found a dll download for the autosave plugin at sourceforge. I copied it the the C:\Users<username>\AppData\Roaming\Notepad++\plugins\config directory and restarted npp, but it doesn’t appear (register?) in the plugins admin section. Is there some other command required?
Thanks.
-
@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 (notplugins\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.
-
@michael-vincent said in Autosave plugin:
Of course do this with N++ not running
Actually, I think doing it with N++ running is OK.
-
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\AutoSaveUI 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.
-
NOTE: That’s weird, I just noticed that this web post is not showing the oblique between users and <username>.
-
I did try just autosave as well.
-
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.
-
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.
-
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-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. -
@robk-blue A good argument for using Ninite or similar to update your software!