So I have an AHK script that can run through a password reset through HyperTerminal. I also have a script that will search for a user (Using InputBox to ask for the username) on the three servers available. (It outputs it to the screen, I'm not sure if AHK would be able to detect the correct server, based on what it shows).
What I would like to do is have a script that asks for the username (Using InputBox), and then prompt for you to choose one of the three servers (East, Cent, West) and then run through the actual change password.
I looked at MsgBox, hoping to have three buttons I could modify with my text, but I didn't see a way. Is there a way to do this? A different command? I'd take buttons or bullet point choices.
Right now, I'm debugging a nested IF sequence that uses InputBox to get the server name, and has the user type in the server. Is this the only way, right now?
Thanks.
Input Limited Choices?
Started by
scouchman
, Jun 01 2004 05:33 PM
2 replies to this topic
That's the way to do it. That script can be downloaded here:
http://www.autohotke... ... nNames.htm
To have it use 3 buttons instead of 2, using a MsgBox option such as:
MsgBox, 2, , Abort/Retry/Ignore?
Then rename those buttons by following the example.
http://www.autohotke... ... nNames.htm
To have it use 3 buttons instead of 2, using a MsgBox option such as:
MsgBox, 2, , Abort/Retry/Ignore?
Then rename those buttons by following the example.
#3
-
Posted 01 June 2004 - 06:54 PM