Jump to content
Sign in to follow this  

Script to open url type username

Recommended Posts


Hello. I am trying to automate things a bit and have just installed Autoit v. 3.3. Just to practice creating scripts, I tried to create one that would open a specific url and enter the user name. It was very simple to do - I thought. It worked the first time I ran the script and would never work again. I know this is basically a useless script and am just practicing, but the result was a little strange. The idea for the script, however, was to automate the login process on a website where the user would only have to enter their password (for security, I never store passwords in a browser). At any rate if someone can take a look at the following script and tell me what I am doing wrong, I would appreciate it. I have edited out the actual url name, window name, and the username. In my script, of course they are real.

;Open the url

Run("d:\program files\mozilla firefox\firefox.exe url")

;wait for the window

WinWaitActive("window name")

;enter username and go to password line in dialog



Share this post

Link to post
Share on other sites

You can use IE functions. Read in help file about.

When the words fail... music speaks

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.