Sign in to follow this  
Followers 0
cent

Yahoo

5 posts in this topic

#1 ·  Posted (edited)

Hi,

new to autoit i'm trying to make a script that open yahoo mail, login then do stuff; i use this code but something is wrong :) :

#include <IE.au3>

$oIE = _IECreate ("http://mail.yahoo.com")

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

$o_login = _IEFormElementGetObjByName ($o_form, "login")

$o_password = _IEFormElementGetObjByName ($o_form, "passwd")

$o_signin = _IEFormElementGetObjByName ($o_form, ".save")

$username = "123@yahoo.com"

$password = "..."

_IEFormElementSetValue ($o_login, $username)

_IEFormElementSetValue ($o_password, $password)

_IEAction ($o_signin, "click")

Edited by cent

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Hi,

new to autoit i'm trying to make a script that open yahoo mail, login then do stuff; i use this code but something is wrong :P :

Here you go :P

#include <IE.au3>

$oIE = _IECreate ("http://mail.yahoo.com")

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

$o_login = _IEFormElementGetObjByName ($o_form, "login")

$o_password = _IEFormElementGetObjByName ($o_form, "passwd")

$o_signin = _IEFormElementGetObjByName ($o_form, ".save")

$username = "123@yahoo.com"

$password = "..."

_IEFormElementSetValue ($o_login, $username)

_IEFormElementSetValue ($o_password, $password)

_IEAction ($o_signin, "click")

_______________________________________________________________

If I was you tho I'd change my password :)

Welcome, Astro!

You have 95 unread messages:

Edited by big_daddy
Changed users email address

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

:)

Opps forgot to say, "you don't need the @yahoo.com"

$username = "123@yahoo.com"

becomes just

$username = "123"

Edited by big_daddy
Changed users email address

Share this post


Link to post
Share on other sites

Thx

Share this post


Link to post
Share on other sites

And than to the admins :)

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