jedi jake Posted July 2, 2006 Posted July 2, 2006 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!
w0uter Posted July 2, 2006 Posted July 2, 2006 cant you just automate that box with ControlSetText / ControlClick / Send My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
Somniis Posted July 2, 2006 Posted July 2, 2006 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! 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now