Sign in to follow this  
Followers 0
Chris86

IE Login

5 posts in this topic

How can i login into www.tribalwars.no with this?

#include <IE.au3>

; Create a browser window and navigate to hotmail
$oIE = _IECreate ("www.tribalwars.no")

; get pointers to the login form and username, password and signin fields
$o_form = _IEFormGetObjByName ($oIE, "f1")
$o_login = _IEFormElementGetObjByName ($o_form, "user")
$o_password = _IEFormElementGetObjByName ($o_form, "password")
$o_signin = _IEFormElementGetObjByName ($o_form, "submit")

$username = "mylogin"
$password = "mypassword"


; Set field values and submit the form
_IEFormElementSetValue ($o_login, $username)
_IEFormElementSetValue ($o_password, $password)
_IEAction ($o_signin, "submit")

I dont know how to select the server :S

Share this post


Link to post
Share on other sites



By changing

$o_form = _IEFormGetObjByName ($oIE, "f1")
But i dont know how to select what server :S plz help

Share this post


Link to post
Share on other sites

What do you mean with "select what server"? :S

Share this post


Link to post
Share on other sites

There will be 2 server to choose about, But forget it;) i would edit the script whene that time comes..

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