Sign in to follow this  
Followers 0
jenant

login scripts

6 posts in this topic

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

Share this post


Link to post
Share on other sites



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


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

what page? IE or FF?

Mega

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 page

Share this post


Link to post
Share on other sites

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 page

Don't know if you have already found the answer but try

$o_form = _IEFormGetObjByName($oIE, "loginForm")

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0