Mark van Zon Posted October 21, 2005 Share Posted October 21, 2005 See subject Link to comment Share on other sites More sharing options...
markusss Posted October 21, 2005 Share Posted October 21, 2005 Do you want a script that restarts your pc or a script that restarts itself??? If you want the script to restart, just make the script never end, with a loop. Please be more specific. Felix N. (tdlrali) Link to comment Share on other sites More sharing options...
markusss Posted October 21, 2005 Share Posted October 21, 2005 I'm sorry if im wrong, but wouldn't it be: Run(@ScriptFullPath) Exit Felix N. (tdlrali) Link to comment Share on other sites More sharing options...
upnorth Posted October 21, 2005 Share Posted October 21, 2005 Func _restart() If @Compiled = 1 Then Run( FileGetShortName(@ScriptFullPath)) Else Run( FileGetShortName(@AutoItExe) & " " & FileGetShortName(@ScriptFullPath)) EndIf Exit EndFunc 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