So hab ich mir das schon eher vorgestellt ;)
Zwar wär ne GUI deutlich schicker und ohne lästige Inputboxen, aber ansonsten is es in Ordnung. Ich wollte übrigens auch sowas machen, leider keine Zeit gehabt. Bin auch bis jetzt erst hier, aber war ja eh nur aus Langeweile xD:
€dit: Achja, hab bei Monat 46 eingegeben, ging trotzdem xD
Ne funktion, die Passwort und ID speichert wäre noch nicht schlecht...
Zwar wär ne GUI deutlich schicker und ohne lästige Inputboxen, aber ansonsten is es in Ordnung. Ich wollte übrigens auch sowas machen, leider keine Zeit gehabt. Bin auch bis jetzt erst hier, aber war ja eh nur aus Langeweile xD:
Code:
#include <IE.au3>
$oIE = _IECreate ("http://de.alaplaya.net/users/new")
$oForm = _IEFormGetObjByName ($oIE, "new_user")
$oLogin = _IEFormElementGetObjByName ($oForm, "user[login]")
$oPass = _IEFormElementGetObjByName ($oForm, "user[password]")
$oPassConfirm = _IEFormElementGetObjByName ($oForm, "user[password_confirmation]")
$oNickname = _IEFormElementGetObjByName ($oForm, "user[nickname]")
$oEmail = _IEFormElementGetObjByName ($oForm, "user[email]")
$oEmailConfirm = _IEFormElementGetObjByName ($oForm, "user[email_confirmation]")
$oBirthDay = _IEFormElementGetObjByName ($oForm, "user[birthday(3i)]"); 1 to 31
$oBirthMonth = _IEFormElementGetObjByName ($oForm, "user[birthday(2i)]"); Januar, Februar...
$oBirthYear = _IEFormElementGetObjByName ($oForm, "user[birthday(1i)]") ;2001 to 1909
$oCountry = _IEFormElementGetObjByName ($oForm, "user[country_id]"); 1 = Deutschland
$oMedia = _IEFormElementGetObjByName ($oForm, "user[media_code_id]"); 1=Freunde
$oNewsletter = _IEFormElementGetObjByName ($oForm, "user[newsletter]")
$oService = _IEFormElementGetObjByName ($oForm, "user[terms_of_service]")
_IEFormElementSetValue ($oLogin, "Name")
_IEFormElementOptionSelect ($oCountry, 1)
_IEFormSubmit($oForm)
Ne funktion, die Passwort und ID speichert wäre noch nicht schlecht...