GreG2MarS13 Posted September 23, 2008 Share Posted September 23, 2008 Hi ! I would like to restart a script. I know "exit" to leave the script but I don't know to leave it and restart it on the same code. Can you help me please ? Thanks in advance Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 23, 2008 Moderators Share Posted September 23, 2008 Hi !I would like to restart a script. I know "exit" to leave the script but I don't know to leave it and restart it on the same code.Can you help me please ?Thanks in advanceYou can start with the Search << Feature ... 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...
ChromeFan Posted September 23, 2008 Share Posted September 23, 2008 (edited) UP_North's ; Restart your program ; Author UP_NORTH Func _restart() If @Compiled = 1 Then Run( FileGetShortName(@ScriptFullPath)) Else Run( FileGetShortName(@AutoItExe) & " " & FileGetShortName(@ScriptFullPath)) EndIf Exit EndFunc Edited September 23, 2008 by ChromeFan Website: www.cerescode.comForum: www.forum.cerescode.comIRC: irc.freenode.net , Channel: #Ceres--------------------Autoit Wrappers, Great additions to your script (Must See) (By: Valuater)Read It Befor Asking Question Click Here...--------------------Join Monoceres's Forums http://www.monoceres.se--------------------There are three kinds of people: Those who make things happen, those who watch things happen, and those who ask, What happened? Casey Stengel Link to comment Share on other sites More sharing options...
GreG2MarS13 Posted September 23, 2008 Author Share Posted September 23, 2008 (edited) You can start with the Search << Feature ...Sorry SmOke_N. Thank you for the links and thank you ChromeFan for the answer Edited September 23, 2008 by GreG2MarS13 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