Menu

Autosave plugin

Franco
2007-05-08
2013-05-29
  • Franco

    Franco - 2007-05-08

    I have developed a small plugin for automatically saving open files upon Notepad++ losing focus or at timed intervals.
    I post here a link in case somebody is interested to use it and test it:

    http://fstellari.googlepages.com/AutoSave_dll_1v00.zip

     
    • irradium

      irradium - 2008-09-23

      Could you change or add the possibility to set the autosave interval also in seconds ?
      Thanks anyway for your plugin.

      BR
      Mauro

       
    • Don HO

      Don HO - 2007-05-10

      Nice plugins you have done.
      Are you plainning to release the source files?
      If so, may I publish your 2 plugins in down load section of Notepad++ site?

      Don

       
      • Nobody/Anonymous

        yep, very nice plugin, would be nice if this is a default one.

        Is it possible to autosave unnamed files without getting a "Save As" dialog, save them to a temp file
        of some sort.
        I always use my notpad++ as a scrable pad, where I just enter some useful text for the day/week, dont
        realy need to save it to a file

         
    • Nobody/Anonymous

      I'm still missing a clean way to save only the named tabs... as discussed in another of my posts.

      Right now I have to switch to the individual tabs that I have to save and save them.

      It would be nice to have one of the following:
      1 a way to save a tab that not the current one... i.e. based on his index or name
      2 a new NPPM to save all the named files

      Moreover, in order to catch the WM_ACTIVATEAPP message I had to install a bypass WndProc... it would be cleaner to have the message passed through the messageProc calling.

      I still have to design a dialog box to set the autosave timed interval...

      At the end I think these basic functions should be included in the core NPP in one of the future releases.

       
      • Nobody/Anonymous

        Love the plugin, but had to disable it because every time it autosaves, the document "resets" to the top. Is there a way to implement the autosave and have the document stay at the same point where I am entering code?

         
      • Don HO

        Don HO - 2007-05-11

        > I'm still missing a clean way to save only the named tabs...
        > as discussed in another of my posts.
        >
        > Right now I have to switch to the individual tabs that I have to save and save them.

        In fact, there's no "clean way" to do so.
        That's why I didn't do autosave plugin even it is demanded.

        > Moreover, in order to catch the WM_ACTIVATEAPP message I had to install a bypass WndProc... > it would be cleaner to have the message passed through the messageProc calling.

        OK. you can get this message from messageProc() in the v4.1.1.
        Let me know if you need the newest binary to test.

        > At the end I think these basic functions should be included in the core NPP
        > in one of the future releases.

        I'll consider it.

        Don

         
    • Nobody/Anonymous

      There is a way to  change the default autosave time interval ?
      Thanks
      Mauro

       
    • Franco

      Franco - 2007-05-24

      I have uploaded a new version (v1.10) of AutoSave plugin that allows to change the autosave time interval through a dialog box.

      This also implement the use of the new NPPM_GETPLUGINSCONFIGDIR available since NotePad++ v1.10.

      This means that for users with Notepad++ >v1.10 and not using a local profile, the profiles will now be saved in %APPDATA%\Notepad++\Plugins\Config instead of %APPDATA%\Notepad++.

      As a consequence you may need to move there your last saved profile to be seen on next startup or create a new one on exit.

       
    • Franco

      Franco - 2007-05-24

      I forgot to include the link:

      http://fstellari.googlepages.com/AutoSave_dll_1v10.zip

      and of course I menat Notepad++ v4.1.0 and not v1.10.

       
  • zer0nix

    zer0nix - 2011-08-25

    any chance someone could make this plugin compatible with unicode notepad++?

    also, i think it would be a good idea if the plugin could automatically generate names based on the first X characters of text and/or the file creation date, and save to a 'backup sessions' folder.

    i go into more detail in this feature request thread:
    https://sourceforge.net/projects/notepad-plus/forums/forum/482781/topic/4673486

     
  • son0fhobs

    son0fhobs - 2011-09-15

    Custom Names for Auto Save?

    Doing web development, whenever working on multiple sites, I have multiple style.css along with other duplicate filenames.  Of course different paths for different websites.  I'm saving them as verbose, so each file gets the date appended.  However, when going to that folder, I can't tell which is which, and I have to do a lot of opening files before I can figure it out along with the optimal version. 

    Is there a way to save a portion of the file path along with the filename, ex. themes-css-style.ccss ?

    I guess I'd prefer to keep the excessive amounts of backups I make in a seperate folder, but can always resort to keeping them in the same folder. 

    In config.xml it has

     <GUIConfig name="Backup" action="2" useCustumDir="yes" dir="E:\WebDevelopment\NotepadAutoBackup" />
    

    Could working with this provide the answer?  If yes, I'm not sure what xml variables would be avaible to work with the file.

    Thanks!

     
  • Moisey Oysgelt

    Moisey Oysgelt - 2011-10-12

    Autosave   1.3    does not  work   with uniquecode  version   NP++   5.6 and  higher ,
    Autosave  1.2  still working

    Any ideas

    Thank you

     
  • an_zi

    an_zi - 2013-05-29

    Autosave failing installation

    Notepad++ unicode from portableapps v6.3.3
    Notepad++ plugin manager 1.0.8.0

     
MongoDB Logo MongoDB