Sign in to follow this  
Followers 0
madhu

script to click an image

2 posts in this topic

CODE
#include <IE.au3>

$oIE = _IECreate ("www.Yahoomail.com")

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

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

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

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

$username = "type username"

$password = "passwd"

_IEFormElementSetValue ($o_Username, $username)

_IEFormElementSetValue ($o_password, $password)

_IEAction ($o_Login, "click")

_IEImgClick ($oLi, "http://us.i1.yimg.com/us.yimg.com/i/nt/ic/ut/bsc/nwmail16_1.gif", "src")(here is the problem)

_IELoadWait($oIE)

If u dont mind try this and get me a script for clicking my inbox.

Share this post


Link to post
Share on other sites



As I told you before

1. Use a _IEFormSubmit instead of crappy Imageclick for the login part

2. There is a synthax error in the 2nd ImageClick function ($oIe instead of $oLi)

I don't have a yahoomail account so here stops my tips

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