Last active
December 10, 2015 00:19
AutoIt: self restart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Author UP_NORTH | |
Func RestartScript() | |
If @Compiled = 1 Then | |
Run( FileGetShortName(@ScriptFullPath)) | |
Else | |
Run( FileGetShortName(@AutoItExe) & " " & FileGetShortName(@ScriptFullPath)) | |
EndIf | |
Exit | |
EndFunc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment