Jump to content

Script to open url type username


wahfun
 Share

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

Send("abc123{TAB}")

thx

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