thenewkid 0 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 Share this post Link to post Share on other sites
HeffeD 0 Posted September 22, 2007 Is it in the recycle bin? If not, you'll need an undelete utility. Share this post Link to post Share on other sites
Nahuel 1 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 Share this post Link to post Share on other sites
SmOke_N 211 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. Share this post Link to post Share on other sites
thenewkid 0 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 Share this post Link to post Share on other sites
Tiger 0 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 Share this post Link to post Share on other sites
HeffeD 0 Posted September 23, 2007 @Heffed do you know of a undelete utility website addresshttp://www.recuva.com/ Share this post Link to post Share on other sites
Tiger 0 Posted September 23, 2007 He search a function which delete a script My UDFs:- _RegEnumKey Share this post Link to post Share on other sites
SmOke_N 211 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. Share this post Link to post Share on other sites
JustinReno 0 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. Share this post Link to post Share on other sites
weaponx 16 Posted September 23, 2007 You may be able to use FreeUndelete http://www.officerecovery.com/freeundelete/ Share this post Link to post Share on other sites