Seminko Posted November 21, 2015 Share Posted November 21, 2015 Hey fellas,I accidentlly overwritten a script I've been working for a month on and closed SciTE.Is there a way to find the file somewhere? In temp or any other backup dir or am I fucked?Keeping my PC running for the time being.Thanks,Seminko Link to comment Share on other sites More sharing options...
guinness Posted November 21, 2015 Share Posted November 21, 2015 If you have been using tidy (Ctrl + T) then tidied scripts are stored in the backup folder; otherwise, you should invest some time looking at version control e.g. git. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Developers Jos Posted November 21, 2015 Developers Share Posted November 21, 2015 (edited) Right mouse click on the file and select "restore previous versions"?This is probably a good moment to start thinking about an off-site backup. Jos Edited November 21, 2015 by Jos 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...
Seminko Posted November 21, 2015 Author Share Posted November 21, 2015 Right mouse click on the file and select "restore previous versions"?This is probably a good moment to start thinking about a off-site backup. JosI can't see that option. It was just a file that I created and worked on. I was not creating any version, I don't even know how.So am I fucked? I have a feeling I am, right? Link to comment Share on other sites More sharing options...
Developers Jos Posted November 21, 2015 Developers Share Posted November 21, 2015 (edited) Which OS? Check under File properties if there is a previous version option... and did you ever use Tidy?Jos Edited November 21, 2015 by Jos 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...
Seminko Posted November 21, 2015 Author Share Posted November 21, 2015 Which OS? Check under File properties if there is a previous version option... and did you ever use Tidy?Jos Win7. No previous version under File Properties. Didn't use Tidy. Link to comment Share on other sites More sharing options...
czardas Posted November 21, 2015 Share Posted November 21, 2015 If it is still possible to restore the overwritten file, you must not save anything more to disk until after you try one of the available recovery tools. I'm not sure what to recommend because I haven't needed to do this for several years. If you have another device you can use to surf the net, use it to research possible recovery methods. https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=recover overwritten files operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
Developers Jos Posted November 21, 2015 Developers Share Posted November 21, 2015 http://www.howtogeek.com/howto/11130/restore-previous-versions-of-files-in-every-edition-of-windows-7/ 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...
Seminko Posted November 21, 2015 Author Share Posted November 21, 2015 http://www.howtogeek.com/howto/11130/restore-previous-versions-of-files-in-every-edition-of-windows-7/ No previous versions. Backup is not setup for that particular disc. Link to comment Share on other sites More sharing options...
JohnOne Posted November 21, 2015 Share Posted November 21, 2015 Every file of every type I've ever checked has a previous versions tab in windows 7. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Seminko Posted November 21, 2015 Author Share Posted November 21, 2015 Every file of every type I've ever checked has a previous versions tab in windows 7.From what I've read from Joz's link you have to have it set up. Apparently it is not automatic. Link to comment Share on other sites More sharing options...
czardas Posted November 21, 2015 Share Posted November 21, 2015 (edited) After looking around, I would be tempted to install a live kali linux distro on a memory stick. There are several tutorials about installation and data recovery, but there's no guarantee. This distro seems to have a several tools which might recover part, or all, of the overwritten file. It doesn't look very easy, but it's probably one of the best chances you have to recover anything at this stage (for free at least). You should use another machine (or drive) to download the required files to, so as to avoid any further overwriting of the lost data on your C drive.http://docs.kali.org/downloading/kali-linux-live-usb-install Edited November 21, 2015 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
xuzo Posted November 21, 2015 Share Posted November 21, 2015 (edited) Sorry to hear about that, after you get this recovered....What I do for very long scripts is save as I go along like "scriptfunction_nov22" , next day a new date and so on, and I place them in an archive folder. I also so a daily upload to Google drive.Once the task works perfectly for a long time, I delete the old versions.This is tedious but the only way I can prevent disasters, if anybody has advice on better solutions to this, please post here Edited November 21, 2015 by xuzo Link to comment Share on other sites More sharing options...
ngskicker Posted November 21, 2015 Share Posted November 21, 2015 if version control software is too hard for you, online drive eg: dropbox, google drive, etc, maybe the best bet for you, you can back to previous version using that Link to comment Share on other sites More sharing options...
TheSaint Posted November 22, 2015 Share Posted November 22, 2015 A habit I've gotten into now, is dragging a copy every five minutes, which is very quick and easy to do. After successful drag I delete the previous drag copy.I do all the usual backups of versions as well, but they are not as often and are done by software, which I instigate manually when ready. If you are online though, I would use one of the many Cloud options as well, but not instead of.There are lots of good free recovery programs out there, and many service type programs that have that as an option, but you need to install them on and run them from a different USB drive (unless installed already). As suggested above, using a Linux USB or Install partition is a good option. Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
AutoBert Posted November 22, 2015 Share Posted November 22, 2015 (edited) I can't remember i ever changed something in the scite properties. My Scite save a BackUp before runing (F5) a modified Script in @ScriptDir\FileName_No.au3. Edited November 22, 2015 by AutoBert Link to comment Share on other sites More sharing options...
guinness Posted November 22, 2015 Share Posted November 22, 2015 if version control software is too hard for youVersion control isn't hard especially with the benefit it comes with. UDF List: _AdapterConnections() • _AlwaysRun() • _AppMon() • _AppMonEx() • _ArrayFilter/_ArrayReduce • _BinaryBin() • _CheckMsgBox() • _CmdLineRaw() • _ContextMenu() • _ConvertLHWebColor()/_ConvertSHWebColor() • _DesktopDimensions() • _DisplayPassword() • _DotNet_Load()/_DotNet_Unload() • _Fibonacci() • _FileCompare() • _FileCompareContents() • _FileNameByHandle() • _FilePrefix/SRE() • _FindInFile() • _GetBackgroundColor()/_SetBackgroundColor() • _GetConrolID() • _GetCtrlClass() • _GetDirectoryFormat() • _GetDriveMediaType() • _GetFilename()/_GetFilenameExt() • _GetHardwareID() • _GetIP() • _GetIP_Country() • _GetOSLanguage() • _GetSavedSource() • _GetStringSize() • _GetSystemPaths() • _GetURLImage() • _GIFImage() • _GoogleWeather() • _GUICtrlCreateGroup() • _GUICtrlListBox_CreateArray() • _GUICtrlListView_CreateArray() • _GUICtrlListView_SaveCSV() • _GUICtrlListView_SaveHTML() • _GUICtrlListView_SaveTxt() • _GUICtrlListView_SaveXML() • _GUICtrlMenu_Recent() • _GUICtrlMenu_SetItemImage() • _GUICtrlTreeView_CreateArray() • _GUIDisable() • _GUIImageList_SetIconFromHandle() • _GUIRegisterMsg() • _GUISetIcon() • _Icon_Clear()/_Icon_Set() • _IdleTime() • _InetGet() • _InetGetGUI() • _InetGetProgress() • _IPDetails() • _IsFileOlder() • _IsGUID() • _IsHex() • _IsPalindrome() • _IsRegKey() • _IsStringRegExp() • _IsSystemDrive() • _IsUPX() • _IsValidType() • _IsWebColor() • _Language() • _Log() • _MicrosoftInternetConnectivity() • _MSDNDataType() • _PathFull/GetRelative/Split() • _PathSplitEx() • _PrintFromArray() • _ProgressSetMarquee() • _ReDim() • _RockPaperScissors()/_RockPaperScissorsLizardSpock() • _ScrollingCredits • _SelfDelete() • _SelfRename() • _SelfUpdate() • _SendTo() • _ShellAll() • _ShellFile() • _ShellFolder() • _SingletonHWID() • _SingletonPID() • _Startup() • _StringCompact() • _StringIsValid() • _StringRegExpMetaCharacters() • _StringReplaceWholeWord() • _StringStripChars() • _Temperature() • _TrialPeriod() • _UKToUSDate()/_USToUKDate() • _WinAPI_Create_CTL_CODE() • _WinAPI_CreateGUID() • _WMIDateStringToDate()/_DateToWMIDateString() • Au3 script parsing • AutoIt Search • AutoIt3 Portable • AutoIt3WrapperToPragma • AutoItWinGetTitle()/AutoItWinSetTitle() • Coding • DirToHTML5 • FileInstallr • FileReadLastChars() • GeoIP database • GUI - Only Close Button • GUI Examples • GUICtrlDeleteImage() • GUICtrlGetBkColor() • GUICtrlGetStyle() • GUIEvents • GUIGetBkColor() • Int_Parse() & Int_TryParse() • IsISBN() • LockFile() • Mapping CtrlIDs • OOP in AutoIt • ParseHeadersToSciTE() • PasswordValid • PasteBin • Posts Per Day • PreExpand • Protect Globals • Queue() • Resource Update • ResourcesEx • SciTE Jump • Settings INI • SHELLHOOK • Shunting-Yard • Signature Creator • Stack() • Stopwatch() • StringAddLF()/StringStripLF() • StringEOLToCRLF() • VSCROLL • WM_COPYDATA • More Examples... Updated: 22/04/2018 Link to comment Share on other sites More sharing options...
Developers Jos Posted November 22, 2015 Developers Share Posted November 22, 2015 (edited) I can't remember i ever changed something in the scite properties. My Scite save a BackUp before runing (F5) a modified Script in @ScriptDir\FileName_No.au3.The default is: #define the number of backup files you want to keep 0=none backup.files=0A versioncontrol option is build-in into AutoIt3wrapper including the explanation how to set it up in the helpfile. There should not be much stopping you from using it.Realize it is "water under the bridge" for this file though.Jos Edited November 22, 2015 by Jos Seminko 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...
Seminko Posted November 22, 2015 Author Share Posted November 22, 2015 Thanks guys Link to comment Share on other sites More sharing options...
TheDcoder Posted November 22, 2015 Share Posted November 22, 2015 @Seminko Did you try Recuva? It should recover files which have been recently deleted in mint condition , Not sure if it is capable of recovering over-written files EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion 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