Facebook Registrieren Button ID :S

09/14/2012 19:46 ÐΣαtђ#1
Hey Leute,

Ich komm mal gleich auf den Punkt,

Ich möchte ein Script das mir auf den Registrieren Button Klickt,
Allerdings bekomm ich die ID Nicht raus :/
Bis jetzt habe ich im Quellcode schnipsel nur das gefunden:

Quote:
<label class="uiButton uiButtonSpecial" for="ujqp4kv1"><input id="ujqp4kv1" onclick='setFormTypeABTest($("reg")); RegistrationBootloader.bootloadAndValidate();' value="Registrieren" type="submit">
(Ich habe den CODE-Tag bewusst nicht genutzt da ich den "Fund" dick markieren wollte ;) )

Allerdings drückt mir diese Funktion:
Code:
#include <ie.au3>

$Site = "https://de-de.facebook.com/"
Registrieren($Site)

Func Registrieren($URL)
	$IE = _IECreate($URL)
	
	$Button = _IEGetObjByName ($IE, "ujqp4kv1")
	_IEAction($Button,"click")
EndFunc
auch nicht meinen Button :mad:

Bitte helft mir, Ich möchte nicht die ganze Zeit diese Ka*k Button ID herrausfinden :(

Oder hab ich irgendetwas beim Klicken falsch gemacht?

~greetz Death
09/14/2012 23:35 Achat#2
Welche Error Werte bekommst du denn?
Die kannst du mit ConsoleWrite(@error) auslesen.
Kann es sein, dass sich die ID jedes mal ändert?
Vielleicht kannst du das Problem ja mit ControlClick lösen?

MfG
09/15/2012 15:45 YatoDev#3
Code:
Global $URL = "https://de-de.facebook.com/"
$IE = _IECreate($URL)
$Bot = GUICreate("Form1", 1280, 720)
GUICtrlCreateObj($IE, 0, 0, 1280, 720)
GUISetState(@SW_HIDE)
_IENAVIGATE($IE, "https://de-de.facebook.com/")
ControlClick()
So müsste es gehen :)
09/16/2012 08:26 ÐΣαtђ#4
Geht leider nicht^^
Weiß auch nicht so richtig was ich mit dem ControlClick() anfangen soll
09/18/2012 18:49 YatoDev#5
ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y]]]] )

title The title of the window to access.
text The text of the window to access.
controlID The control to interact with. See Controls.
button [optional] The button to click, "left", "right", "middle", "main", "menu", "primary", "secondary". Default is the left button.
clicks [optional] The number of times to click the mouse. Default is 1.
x [optional] The x position to click within the control. Default is center.
y [optional] The y position to click within the control. Default is center.

was verstehst daran net ?