#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 562, 70, 192, 124)
HotKeySet("{tab}","__SetChr")
$Edit1 = GUICtrlCreateEdit("", 0, 0, 281, 57)
GUICtrlSetData(-1, "Edit1")
$Button1 = GUICtrlCreateButton("Button1", 288, 0, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func __SetChr()
GUICtrlSetData($Edit1,guictrlread($Edit1)&Chr(9))
EndFunc