hispeed_mike Posted February 11, 2007 Posted February 11, 2007 Hi, I need to get one input box to display 2 area the user must fill in and then OK button. At the moment I can easily get this with 2 Input boxes but would like just one. I need to know if I need to write a GUI to do this or need extra help on the way to write the line of code. Help does not expand passed one input box. At present Here is what I have: $compname = InputBox("Computer Name", "Computer Name:", "", "") $locser = InputBox("Location Name", "Location Name:", "", "") This specifie the two variables I need for the rest of the script...Can I combine them? Cheers in Advance Mike
Moderators SmOke_N Posted February 11, 2007 Moderators Posted February 11, 2007 Well screwing around you could do something like this (Keep in mind, this is not smart, can't check the first input for information or @error this way):;Not Suggested $MainVar = InputBox('Something', 'Put Something') & InputBox('Else', 'Put Something Else') MsgBox(0, 0, $MainVar) Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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