Код:
Global $aClsCrd, $aBtnCrd , $BtnClr , $aLT , $aRL , $LkClr
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ###
$Form1_1 = GUICreate("Form1", 301, 158, 189, 112)
$Label1 = GUICtrlCreateLabel("Красный крестик второй вкладки(закрыть):", 8, 8, 228, 17)
$ClsCrd = GUICtrlCreateInput("384, 14", 240, 8, 57, 21)
$Label2 = GUICtrlCreateLabel("Координаты голубой кнопки:", 8, 40, 151, 17)
$BtnCrd = GUICtrlCreateInput("756, 534", 160, 40, 49, 21)
$Label3 = GUICtrlCreateLabel("Цвет:", 216, 40, 32, 17)
$BtnClr = GUICtrlCreateInput("0x5CB6D4", 248, 40, 49, 21)
$Label4 = GUICtrlCreateLabel("Левая верхняя координта:", 8, 72, 139, 17)
$LT = GUICtrlCreateInput("582, 159", 160, 72, 49, 21)
$Label5 = GUICtrlCreateLabel("Правая нижняя координата:", 8, 104, 148, 17)
$RL = GUICtrlCreateInput("1213, 955", 160, 104, 49, 21)
$Label6 = GUICtrlCreateLabel("^Цвет лайка^", 216, 104, 74, 17)
$LkClr = GUICtrlCreateInput("0xC9D8E6", 224, 72, 73, 21)
$Start = GUICtrlCreateButton("Start", 8, 128, 289, 25)
GUICtrlSetOnEvent(-1, 'Start')
GUICtrlSetFont(-1, 16, 400, 0, "Times New Roman")
GUICtrlSetColor(-1, 0x000000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Func _Start()