Jump to content
Sign in to follow this  
jschafer65

autologin on webpage using Auto It

Recommended Posts

jschafer65

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!

Share this post


Link to post
Share on other sites
JohnOne

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.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.