#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 623, 442, 192, 124)
$Kordy = GUICtrlCreateLabel("Kordy", 16, 16, 31, 17)
$Input1 = GUICtrlCreateInput("x", 88, 16, 81, 21)
$Input2 = GUICtrlCreateInput("y", 184, 16, 81, 21)
$Label1 = GUICtrlCreateLabel("Czsa po którym ma ponownie zaatakowac", 8, 48, 203, 17)
$Input3 = GUICtrlCreateInput(" Czas w sec.", 232, 48, 89, 21)
$Button1 = GUICtrlCreateButton("GO", 352, 24, 145, 41)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
case $Button1
MouseClick("left",448,472)
MouseClick("left",416,496)
Send("",$Input1)
MouseClick("left",504,496)
Sleep(50)
$time = $Input3
Sleep($time * 1000)
Exit
EndSwitch
WEnd
Co mam zrobic zeby po drugim kliknieciu wpisał mi to co było wpisane w input1??