Hi,
When i run the following script from Scite and press the restart button in the GUI it restarts the GUI..
but after compiling it .. the restart ends the GUI but it never restarts..
Can anyone else confirm this ?
AutoIt 3.3.9.15 beta
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
#AutoIt3Wrapper_Add_Constants=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <UpDownConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Parent = GuiCreate ("Test", 400, 400)
$Tab = GUICtrlCreateTab(10, 10, 350, 300)
$Tab1 = GUICtrlCreateTabItem("Tab1")
$Restart = GuictrlCreateButton("Restart", 200,100,150,20)
$Tab2 = GUICtrlCreateTabItem("Tab2")
GUICtrlCreateTabItem("")
$Menu = GUICtrlCreateMenu("help")
GUISetState()
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then Exit
If $msg = $Restart Then
Run('"' & @AutoItExe & '"' & ' /AutoIt3ExecuteScript "' & @ScriptFullPath & '" /restart')
Exit
EndIf
WEnd