Hi , bin grad am erstellen eines Loginbots
wie mache ich das das wenn ich start drücke die inputbox gesendet
hier mal das was ich bis jetz hab :D
Danke für eure hilfe
wie mache ich das das wenn ich start drücke die inputbox gesendet
hier mal das was ich bis jetz hab :D
Code:
#RequireAdmin
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
GuiCreate("LoginBot 1.0",534,154,217,2)
$button1=GUICtrlCreateButton ("Start",49,92,60,20)
$input1=GuiCtrlCreateInput("ID eingeben",49,22,156,20)
$input2=GuiCtrlCreateInput("PW: eingeben",46,62,156,20)
GuiSetState()
While 1
$msg=GuiGetMsg()
If $msg=-3 Then Exit
If $msg=$button1 Then button1()
WEnd
Func button1()
WinActivate ("METIN2")
Send InputBox =
Send ("{ENTER}")
IsKeyword
Send InputBox
Send ("{ENTER}")
EndFunc