#include <GUIConstantsEx.au3>
$Form = GUICreate("Test", 380, 160)
$file = GUICtrlCreateInput('', 10, 5, 360, 20)
$file_2 = GUICtrlCreateInput('', 10, 30, 360, 20)
$Batton_OK = GUICtrlCreateButton("OK", 170, 127, 70, 26)
GUISetState()
$msg = 0
While 1
$aMsg = GUIGetMsg(1)
Switch $aMsg[1]
Case $Form
Switch $aMsg[0]
Case -3
Exit
Case $Batton_OK
msgbox(0,"Test","Test 1 = " & GUICtrlRead($file) & @LF & "Test 2 = " & GUICtrlRead($file_2) )
EndSwitch
EndSwitch
WEnd