Toffen Posted August 29, 2008 Share Posted August 29, 2008 I just cant figure out how to restart my script, i mean to run it from line 1 when a button is pressed. Thanks for help Link to comment Share on other sites More sharing options...
Glyph Posted August 29, 2008 Share Posted August 29, 2008 ; Restart your program ; Author UP_NORTH Func _restart() If @Compiled = 1 Then Run( FileGetShortName(@ScriptFullPath)) Else Run( FileGetShortName(@AutoItExe) & " " & FileGetShortName(@ScriptFullPath)) EndIf Exit EndFunc from valuaters wrapper post! tolle indicium 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