Jump to content

automatic username and passwor input


Recommended Posts

Hi everyone,

I have a EXE file that I would like to run automatically. But this EXE file asks for a username and password, since the file should/can be run only by a set of individuals.

Is there a way that I can use AutoIT to input a specifed username and password? :">

So everything would be fully automatic?

Thanks y'all! :D

Link to comment
Share on other sites

Hi everyone,

I have a EXE file that I would like to run automatically. But this EXE file asks for a username and password, since the file should/can be run only by a set of individuals.

Is there a way that I can use AutoIT to input a specifed username and password? :">

So everything would be fully automatic?

Thanks y'all! :D

Well, if the user and pass input fields are able to be traversed by Tab, then:

Send("username")
Send("{TAB}")
Send("password")
Send("{TAB}") ; keep adding tabs to navigate to "Enter" or whatever the button is to proceed
Send{"{ENTER}"); presses enter on the keyboard

You may have to adjust the SendKeyDelay or SendKeyDownDelay for it to work. Or, perhaps put a couple of Sleep()s in there.

Hope that helps. :wacko:

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