jenant Posted June 12, 2008 Posted June 12, 2008 i can`t make a login script for hi5...i only made it for hotmail..yahoo..but fo hi5..it doesn`t work..could someone help me?:-s
Developers Jos Posted June 12, 2008 Developers Posted June 12, 2008 1. Welcome to these forums. 2. Why did you think you should post this question here in stead of in AutoIt3 support forum? 3. Posting a question as vage like this wil not trigger much help in general. Thread moved SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Xenobiologist Posted June 12, 2008 Posted June 12, 2008 what page? IE or FF? Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
jenant Posted June 17, 2008 Author Posted June 17, 2008 what page? IE or FF?MegaIE#include <IE.au3>$oIE = _IECreate()_IENavigate($oIE, "http://hi5.com/friend/login.do"); get pointers to the login form and username and password fields$o_form = _IEFormGetObjByName($oIE, "f1")$o_login = _IEFormElementGetObjByName($o_form, "email")$o_password = _IEFormElementGetObjByName($o_form, "password"); Set field values and submit the form_IEFormElementSetValue($o_login, "your username here")_IEFormElementSetValue($o_password, "your password here")_IEFormSubmit($o_form)this is it..but i can`t get pointers to log in..i found the ones for email and password..but i can`t make it log in on that page
easypic Posted August 1, 2008 Posted August 1, 2008 IE#include <IE.au3>$oIE = _IECreate()_IENavigate($oIE, "http://hi5.com/friend/login.do"); get pointers to the login form and username and password fields$o_form = _IEFormGetObjByName($oIE, "f1")$o_login = _IEFormElementGetObjByName($o_form, "email")$o_password = _IEFormElementGetObjByName($o_form, "password"); Set field values and submit the form_IEFormElementSetValue($o_login, "your username here")_IEFormElementSetValue($o_password, "your password here")_IEFormSubmit($o_form)this is it..but i can`t get pointers to log in..i found the ones for email and password..but i can`t make it log in on that pageDon't know if you have already found the answer but try$o_form = _IEFormGetObjByName($oIE, "loginForm")
jenant Posted August 17, 2008 Author Posted August 17, 2008 yes it worked..but.. i still have a problem. this is my new script and it works #include <IE.au3> $oIE = _IECreate() _IENavigate($oIE, "http://www.hi5.com/friend/login.do") ; get pointers to the login form and username and password fields $o_form = _IEFormGetObjByName($oIE, "loginform") $o_login = _IEFormElementGetObjByName($o_form, "login_email") $o_password = _IEFormElementGetObjByName($o_form, "login_passwd") ; Set field values and submit the form _IEFormElementSetValue($o_login, "user1@yahoo.com") _IEFormElementSetValue($o_password, "pass1") _IEFormSubmit($o_form) Send("+{TAB 16}") {this is to uncheck the radio button:"remember me"} Send("{SPACE}") sleep(500) _IENavigate($oIE, "http://hi5profile.hi5.com") _IENavigate($oIE, "http://hi5profile.hi5.com/friend/logoff.do") Sleep(10) _IENavigate($oIE, "http://www.hi5.com/friend/login.do") ; get pointers to the login form and username and password fields $o_form = _IEFormGetObjByName($oIE, "loginform") $o_login = _IEFormElementGetObjByName($o_form, "login_email") $o_password = _IEFormElementGetObjByName($o_form, "login_passwd") ; Set field values and submit the form _IEFormElementSetValue($o_login, "user2@yahoo.com") _IEFormElementSetValue($o_password, "pass2") _IEFormSubmit($o_form) sleep(20) Send("+{TAB 16}") send("{SPACE}") _IENavigate($oIE, "http://hi5profile.hi5.com") _IENavigate($oIE, "http://hi5profile.hi5.com/friend/logoff.do") Sleep(10) and so on....and it works..it`s opening the pages..and is making views to my profile..but after..i don` know.. 20 pages..it`s stops logging in..and start go crazy..maybe if someone can gave me a yahoo id or msn on PM..to show him a video or something..i`d appreciate it THANKS
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now