Jump to content

Recommended Posts

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
Link to post
Share on other sites

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
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...