NMS Posted May 10, 2021 Share Posted May 10, 2021 Hello, I was wondering if it's possible to recover the script file after a power outage, which happened as I was working in the editor. It seems there are correct numbers of characters in it (138249) however they're all replaced with "NULL" in one line. File size identical as well. I have a backup from couple of days ago but that's a lot of progress lost... Link to comment Share on other sites More sharing options...
Nine Posted May 10, 2021 Share Posted May 10, 2021 Sorry to hear you have lost a good amount of work. But there are 3 rules in programming : 1- Backup 2- Backup 3- Backup In Scite do CTRL-1, you can create automatic backup of your files. Nevertheless, how long does it take to do a Ctrl-S every now and then ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
NMS Posted May 10, 2021 Author Share Posted May 10, 2021 Unfortunately that's the thing, I always do Ctrl+S. So supposedly the file would recover to that point but it didn't. Perhaps at the exact time as I was saving the blackout happened. But the save time is around 3 seconds so it's too close to tell... Anyway, thanks for the response. Link to comment Share on other sites More sharing options...
argumentum Posted May 10, 2021 Share Posted May 10, 2021 7 minutes ago, NMS said: Perhaps at the exact time as I was saving the blackout happened. ..in my early experience, I came to realize the importance of clean, stable electricity for the PC and monitor. Not the printer or speakers or anything else. ...well, networking and what not but the main is the PC and monitor. If you can afford it, do get a UPS. Is a good investment. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 10, 2021 Developers Share Posted May 10, 2021 That symptom sounds like a corrupted File Allocation Table. Did you have to do a CHECKDISK after the crash? When using the separate SciTE4AutoIt3 full version, a backup can be created of the previous version defined by: backup.files=10 backup.directory=$(FileDir)\backup so you would have the last 10 version in the backup subdirectory. Jos NMS 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
NMS Posted May 10, 2021 Author Share Posted May 10, 2021 25 minutes ago, Jos said: Did you have to do a CHECKDISK after the crash? No I did not. I'm using Lite 3.5.4 at the moment, but this gives me an idea to simply write a simple function to copy the file every time I run it if it's not compiled. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now