$Folder = @DesktopDir & "\AutoIt_log"
IF FileExists($Folder) then DirRemove($Folder,1);delete folder
If Not FileExists($Folder)Then DirCreate($Folder);Create The Dir
$Form1 = GUICreate("Form1", 625, 443, 193, 125)
$Label1 = GUICtrlCreateLabel("TEST", 56, 16, 507, 28)
GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif")
$Button1 = GUICtrlCreateButton("Browse...", 512, 160, 57, 25, 0)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Combo3 = GUICtrlCreateCombo("", 208, 216, 281, 25)
$Button2 = GUICtrlCreateButton("Browse...", 504, 216, 81, 25, 0)
$Button3 = GUICtrlCreateButton("Start", 224, 296, 193, 41, 0)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
select
Case $nMsg=$Button1
; fileopendialog(..)
msgbox(0,'','button1')
Case $nMsg=$Button2
; fileopendialog(..)
msgbox(0,'','button2')
Case $nMsg=$Button3
; Start()
msgbox(0,'','start')
Case $nMsg=-3
Exit
EndSelect
WEnd
Func Start()
.....
EndFunc