Jump to content
Sign in to follow this  
cent

Yahoo

Recommended Posts

cent

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
Thamiel

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
Thamiel

:)

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
cent

Thx

Share this post


Link to post
Share on other sites
cent

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  

×