uplink477 Posted May 21, 2008 Share Posted May 21, 2008 Is there a way of makeing my script Restart without actually exiting the program? or how would i go about makeing my program restart say every 2 mins? Link to comment Share on other sites More sharing options...
Hiyoal Posted May 21, 2008 Share Posted May 21, 2008 Just reset all variables and make a "Starting function" from where your script starts. Then just call that function, and you have started again. Hiyoal Link to comment Share on other sites More sharing options...
Valuater Posted May 21, 2008 Share Posted May 21, 2008 from Autoit Wrappers ; Restart your program ; Author UP_NORTH Func _restart() If @Compiled = 1 Then Run( FileGetShortName(@ScriptFullPath)) Else Run( FileGetShortName(@AutoItExe) & " " & FileGetShortName(@ScriptFullPath)) EndIf Exit EndFunc there is more there to help you 8) MrVietA2 1 Link to comment Share on other sites More sharing options...
uplink477 Posted May 21, 2008 Author Share Posted May 21, 2008 (edited) Thanks worked like a charm Edited May 21, 2008 by uplink477 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