thenewkid Posted September 22, 2007 Share Posted September 22, 2007 ok heres the thing i made a script that will delete it self when its finshed running but i forgot about that part and i ran it and now its gone is there any whay to get it back? some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with Link to comment Share on other sites More sharing options...
HeffeD Posted September 22, 2007 Share Posted September 22, 2007 Is it in the recycle bin? If not, you'll need an undelete utility. Link to comment Share on other sites More sharing options...
Nahuel Posted September 22, 2007 Share Posted September 22, 2007 hahahahaha..Oh, thanks for giving me a laugh.I think there's no way to get it back... they don't go to the recycle bin. I hope the script wasn't too long. A way to avoid this is to run the script from SciTe. It will delete the script but then you'll be able to save it again Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 22, 2007 Moderators Share Posted September 22, 2007 ok heres the thing i made a script that will delete it self when its finshed running but i forgot about that part and i ran it and now its gone is there any whay to get it back?Well the script would still be saved if you ran a compiled version of it... and in order to run the script itself, you would have ran it in an Editor like SciTE, so it should still be open in SciTE, just re-save it before you close the editor. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
thenewkid Posted September 22, 2007 Author Share Posted September 22, 2007 (edited) it not compiled i ran it by right clicking the .au3 @Heffed do you know of a undelete utility website address Edited September 22, 2007 by thenewkid some of my scripts check them out and give feedback so i can learn from them :)autoclicker a autoclickernote taker a script to take notes with Link to comment Share on other sites More sharing options...
Tiger Posted September 22, 2007 Share Posted September 22, 2007 From the SciTE Helpfile Func _SelfDelete() Local $cmdfile FileDelete(@TempDir & "\scratch.cmd") $cmdfile = ':loop' & @CRLF _ & 'del "' & @ScriptFullPath & '"' & @CRLF _ & 'if exist "' & @ScriptFullPath & '" goto loop' & @CRLF _ & 'del ' & @TempDir & '\scratch.cmd' FileWrite(@TempDir & "\scratch.cmd", $cmdfile) Run(@TempDir & "\scratch.cmd", @TempDir, @SW_HIDE) EndFunc My UDFs:- _RegEnumKey Link to comment Share on other sites More sharing options...
HeffeD Posted September 23, 2007 Share Posted September 23, 2007 @Heffed do you know of a undelete utility website addresshttp://www.recuva.com/ Link to comment Share on other sites More sharing options...
Tiger Posted September 23, 2007 Share Posted September 23, 2007 He search a function which delete a script My UDFs:- _RegEnumKey Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 23, 2007 Moderators Share Posted September 23, 2007 He search a function which delete a scriptNo, he already wrote a script that deleted itself. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
JustinReno Posted September 23, 2007 Share Posted September 23, 2007 No he didn't Tiger, he did not want a selfdelete script, he already has one. He wants an Undelete utility. Link to comment Share on other sites More sharing options...
weaponx Posted September 23, 2007 Share Posted September 23, 2007 You may be able to use FreeUndelete http://www.officerecovery.com/freeundelete/ 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