Last active
December 10, 2015 00:19
-
-
Save kissgyorgy/4350758 to your computer and use it in GitHub Desktop.
AutoIt: self restart
This file contains hidden or 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