Hallo!
Hier ein kleines Beispiel: (kleiner Ausschnitt aus einem meiner Codes)
Dieses Login hier ist mit einem "verschlüsseltem" Passwort in einer Ini Datei, damit man es zumindet nicht grad im Klartext lesen kann...
Die interessanten Befehle für dich wären momentan nur die _IE.... Befehle.
PHP Code:
Func _Login()
$LBenutzername = IniRead(@WorkingDir & "\Settings\Settings.ini", "Logindata", "Benutzername", "Default")
$EncryptedPasswort = IniRead(@WorkingDir & "\Settings\Settings.ini", "Logindata", "Passwort", "Default")
$sDecryptedPW = _Crypt_DecryptData($EncryptedPasswort, "VerschlüsselungsPW", $CALG_RC4)
$oForm = _IEFormGetObjByName($oIE, "login")
$oQueryUsername = _IEFormElementGetObjByName($oForm, "username")
$oQueryPassword = _IEFormElementGetObjByName($oForm, "password")
_IEFormElementSetValue($oQueryUsername, $LBenutzername)
_IEFormElementSetValue($oQueryPassword, BinaryToString($sDecryptedPW))
_IEFormSubmit($oForm)
_IELoadWait($oIE, 0)
EndFunc ;==>_Login
Dafür brauchst du natürlich zuerst ein Objekt und die IE.au3
Lg Memphisto
Edit:
Ups didnt see you wrote in english haha...
Let me rewrite that....:
Hello!
Here you have a short snipplet out of a code of mine (also learned it out of a tutorial somewhere on elitepvpers)
The Code i posted above is a "Loginscript" with an encrypted Password.. the Data is read out of an ini File.. (I only "encrypted" the password so you cant read it this easy out of the Ini File...)
The most intresting Commands for you would be the ones with _IE...
[CODE]
For this you will of course first need an Object and the IE.au3
Greetz Memphisto