Hi ! im pretty new to autoit any idea why my script not working ?
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <MsgBoxConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 384, 90, 192, 124)
$Input1 = GUICtrlCreateInput("Input1", 8, 56, 281, 21)
$Button1 = GUICtrlCreateButton("Button1", 296, 8, 81, 73)
$Label1 = GUICtrlCreateLabel("Label1", 8, 16, 66, 28)
GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif")
GUICtrlSetColor(-1, 0x000000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Local $data = ClipGet()
$data = $Label1
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
ClipPut($Input1)
EndSwitch
WEnd