BigDaddyO Posted April 20, 2004 Share Posted April 20, 2004 (edited) I need to prompt a user to type in the Username and Password and then have autoit use that information further on in the script. is it possible to throw up a message box, input box thingy, and have the user put that information into that box and then Autoit will just need to write that info into a text file for use latter.? Thanks, Mike Edited April 20, 2004 by MikeOsdx Link to comment Share on other sites More sharing options...
jterwelp Posted April 20, 2004 Share Posted April 20, 2004 Sure, try something like: $username = InputBox("Enter your username", "Enter your username") $password = InputBox("Enter your password", "Enter your password", "", "*") Msgbox(0, "Results", "You entered the username " & $username & " and the password " & $password) See the help file for more on InputBox() syntax and inputbox.au3 from the AutoIt3\Examples\English folder for another example of InputBox use. Jeff Link to comment Share on other sites More sharing options...
jpm Posted April 20, 2004 Share Posted April 20, 2004 I need to prompt a user to type in the Username and Password and then have autoit use that information further on in the script. is it possible to throw up a message box, input box thingy, and have the user put that information into that box and then Autoit will just need to write that info into a text file for use latter.?Thanks,MikeLook at MsgBox InputBox FileWriteLine Docs and you will get the needed information Link to comment Share on other sites More sharing options...
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