#NoTrayIcon
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 295, 175, 192, 124)
$Input1 = GUICtrlCreateInput("", 64, 32, 177, 21)
$Input2 = GUICtrlCreateInput("", 62, 77, 177, 21)
$Button1 = GUICtrlCreateButton("Field Values", 104, 112, 81, 33, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
MsgBox(0,"Field Values","Input 1:"& GUICtrlRead($Input1) & @CRLF & "Input 2: " & GUICtrlRead($Input2))
EndSwitch
If GUICtrlRead($Input1)<>"" Then GUICtrlSetData($Input2,GUICtrlRead($Input1))
WEnd