so habe folgende frage
des mein GUI
und nun will ich
Func start ()
while 1 ()
MouseClick("left",395,339);Server 1
sleep(1000)
MouseClick("left",618,340) ;für Channel1
sleep(1000)
MouseClick("left",639,530)
sleep(1000)
Hier
wend
endfunc
Da bei dem Roten Hier soll der denn Input1 senden aber wenn ichs so mache
send ($Input1)
sendet ders net was muss ich machen
Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("LoginBot", 417, 161, 193, 125)
GUISetBkColor(0x99B4D1)
$Group1 = GUICtrlCreateGroup("channel", 24, 8, 105, 121)
$Radio1 = GUICtrlCreateRadio("Channel1", 32, 32, 81, 17)
$Radio2 = GUICtrlCreateRadio("Channel2", 32, 56, 65, 17)
$Radio3 = GUICtrlCreateRadio("Channel3", 32, 80, 65, 17)
$Radio4 = GUICtrlCreateRadio("Channel4", 32, 104, 65, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group2 = GUICtrlCreateGroup("Login", 136, 16, 161, 113)
$Benutzername = GUICtrlCreateLabel("Benutzername", 144, 32, 72, 17)
Global $Input1= GUICtrlCreateInput("", 144, 48, 145, 21)
$Passwort = GUICtrlCreateLabel("Passwort", 144, 72, 47, 17)
Global $Input2=GUICtrlCreateInput("", 144, 96, 145, 21)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Group3 = GUICtrlCreateGroup("Charakter", 296, 24, 89, 81)
$Charakter_Nr = GUICtrlCreateLabel("Charakter_Nr", 304, 40, 67, 17)
Global $Input3=GUICtrlCreateInput("", 304, 64, 65, 21)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Label1 = GUICtrlCreateLabel("F6 To Login", 304, 112, 61, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
und nun will ich
Func start ()
while 1 ()
MouseClick("left",395,339);Server 1
sleep(1000)
MouseClick("left",618,340) ;für Channel1
sleep(1000)
MouseClick("left",639,530)
sleep(1000)
Hier
wend
endfunc
Da bei dem Roten Hier soll der denn Input1 senden aber wenn ichs so mache
send ($Input1)
sendet ders net was muss ich machen