PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\Alex\Pictures\SpammToolForm.kxf
$Form1 = GUICreate("Spamm-Tool by 18alex03", 615, 606, 701, 279)
GUISetBkColor(0xA6CAF0)
$Label1 = GUICtrlCreateLabel(" Spamm-Tool by 18alex03", 2, -4, 525, 53)
GUICtrlSetFont(-1, 26, 800, 2, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Label2 = GUICtrlCreateLabel("Text für F1:", 14, 62, 88, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Input1 = GUICtrlCreateInput("", 14, 94, 581, 21)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 16, 126, 13, 17)
$Label3 = GUICtrlCreateLabel("Text für F2:", 16, 152, 88, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Input2 = GUICtrlCreateInput("", 16, 184, 581, 21)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox1", 18, 216, 13, 17)
$Label4 = GUICtrlCreateLabel("Text für F3:", 16, 240, 88, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Input3 = GUICtrlCreateInput("", 16, 272, 581, 21)
$Checkbox3 = GUICtrlCreateCheckbox("Checkbox1", 18, 304, 13, 17)
$Label5 = GUICtrlCreateLabel("Text für F4:", 18, 332, 88, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Input4 = GUICtrlCreateInput("", 18, 364, 581, 21)
$Checkbox4 = GUICtrlCreateCheckbox("Checkbox1", 20, 396, 13, 17)
$Label6 = GUICtrlCreateLabel("Text für F5:", 20, 420, 88, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Input5 = GUICtrlCreateInput("", 20, 452, 581, 21)
$Checkbox5 = GUICtrlCreateCheckbox("Checkbox1", 22, 484, 13, 17)
$Label7 = GUICtrlCreateLabel("Text für F6:", 20, 508, 88, 23)
GUICtrlSetFont(-1, 10, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Input6 = GUICtrlCreateInput("", 20, 540, 581, 21)
$Checkbox6 = GUICtrlCreateCheckbox("Checkbox1", 22, 572, 13, 17)
$Label8 = GUICtrlCreateLabel("Enter", 42, 570, 33, 20)
GUICtrlSetFont(-1, 8, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Label9 = GUICtrlCreateLabel("Enter", 42, 214, 33, 20)
GUICtrlSetFont(-1, 8, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Label10 = GUICtrlCreateLabel("Enter", 42, 304, 33, 20)
GUICtrlSetFont(-1, 8, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Label11 = GUICtrlCreateLabel("Enter", 42, 396, 33, 20)
GUICtrlSetFont(-1, 8, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Label12 = GUICtrlCreateLabel("Enter", 42, 480, 33, 20)
GUICtrlSetFont(-1, 8, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
$Label13 = GUICtrlCreateLabel("Enter", 42, 128, 33, 20)
GUICtrlSetFont(-1, 8, 800, 0, "Comic Sans MS")
GUICtrlSetColor(-1, 0x000000)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$taste1 = HotKeySet(("{F1}"), "_f1")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case 1
HotKeySet(("{F1}"), "_f1")
EndSwitch
WEnd
Func _f1()
While 1
Sleep(50)
$read1 = GUICtrlRead($Input1)
If $Checkbox1 = True Then
Send($read1)
Send("{Enter}")
Else
Send($read1)
EndIf
WEnd
EndFunc ;==>_f1