A reader emailed me this morning asking if they could change the amount of time between automatic saves in
Nanonotepad. This is a good question because saving every 10 minutes is just an arbitrary interval that I came up with. I used it mostly because my writing tends to come in blocks of 1-3 hours. However, the reader said that she leaves her writing open all day. Since the default would result in 144 copies per day getting saved, I can see how that would be irritating. Fortunately, it's pretty simple to change.
You'll need a text editor like Notepad or
EditPlus. Open the nanonotepad.hta file with the text editor and go to around line 66, where it should currently say:
setTimeout("ongoingsave()",600000);
That long number at the end (600000) is the number of milliseconds between saves. It's stated in milliseconds because of how Javascript works. So, to change it, you just need to choose a new interval, calculate the new number and change it.
The calculation is:
1000 * 60 * minutes = your number
So, to change to 30 minutes, you'd change it to 1800000. To set it to once per day, change it to 86400000.
Nanowrimo, nanonotepad, writing, javascript, hta