Jump to content

Recommended Posts

I search forum and have code 

#include <IE.au3>

Local $oIE = _IECreate("live.com")
_IELoadWait ($oIE)
_IELinkClickByText($oIE, "Sign in")


$o_form = _IEFormGetObjByName ($oIE, "f1")
$o_login = _IEFormElementGetObjByName ($o_form, "loginfmt")
$o_password = _IEFormElementGetObjByName ($o_form, "passwd")
$o_signin = _IEFormElementGetObjByName ($o_form, "idSIButton9")

$username = "username"
$password = "password"


_IEFormElementSetValue ($o_login, $username)
_IEFormElementSetValue ($o_password, $password)
_IEAction ($o_signin, "click")

Run code , It click button "Next", don't click button "Sign in" with ID "idSIButton9". Help me fix it.

Thanks

Edited by JLogan3o13
Removed username and password
Link to post
Share on other sites
  • Moderators

@Fink89 not the smartest thing putting your username in password in a thread for all to see. I have removed them for you this time.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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...