Wenn ich hier nicht richtig bin dann bitte verschieben!!!
Also zum problem:
Mein Code :
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
GUICreate("Form1", 626, 448, 192, 124)
GUIsetonevent($GUI_EVENT_CLOSE, "close")
opt("GUIOnEventMode", 1)
GUIsetstate(@sw_show)
$input = GUICtrlCreateInput("Input1", 456, 400, 121, 21)
$Button1 = GUICtrlCreateButton("Klicken um Passwort des eingegeben Benutzer zu ändern", 160, 400, 291, 25, $WS_GROUP)
GUIctrlsetonEvent($Button1, "_lol")
Func _lol()
Run("cmd.exe")
Sleep(300)
Send ("net user " & $input)
Send("*")
Send("{Enter}")
EndFunc
Func close()
Exit
EndFunc
While 1
Sleep(234)
WEnd
Also zum problem, wenn ich auf den button drücke kommt cmd und gibt net user ein und dann sollte ja eigentlich das was im input steht kommen aber da kommt ne 3!!!!!
was mach ich falsch?