Danke für die Hilfe ...
So Klappts:
So Klappts:
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
HotKeySet("{F1}", "screen")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("S4League Login", 258, 128, 192, 124)
$Input1 = GUICtrlCreateInput("Username", 8, 16, 169, 21)
$Input2 = GUICtrlCreateInput("Password", 8, 48, 169, 21)
$Label1 = GUICtrlCreateLabel("F1 = Login", 8, 88, 54, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Func screen()
Send(GUICtrlRead($Input1) & "{tab}" & GUICtrlRead($Input2) & "{enter}")
EndFunc