Jump to content

autologin on webpage using Auto It


Recommended Posts

I've tried mouseclicks with autoit.

but I would like the autoit script to work regardless of computer monitor resolution.

below is webpage code "simple I think"

<html>

<head>

<title>Login</title>

</head>

<body bgcolor="EFF1F0">

<br><br><br><br><br><br>

<center>

<h2><U>Free Internetcam Login</U></h2><br>

<form action="login.html" method=get>

<p>Username: <input TYPE="text" NAME="username"></p>

<p>Passwort: &nbsp;<input type="password" maxlength=20 size=20 name="password"></p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="Login" maxlength=20 size=20 name="Login"></p>

</form>

</center>

</body>

</html>

the Id and password is webcam

I could include my script. but its with mouseclick. trying to get away from that.

I get the webpage to launch. and maximize. but thats it..

any assistence would be very much appreciated!

Link to comment
Share on other sites

I wouldnt be logging in to any website that uses GET not very secure for password, you might as well just use

www.website.com?username=webcam&password=webcam

Look at Dales IE UDF, the functions can be found in the helpfile

_IEGetObjByName

_IEFormElementSetValue

_IEFormSubmit

are amongs the functions you should be looking at.

There are plenty od examples.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...