Moderators SmOke_N Posted July 31, 2006 Moderators Share Posted July 31, 2006 Please use code tags when posting code. MsgBox(4096, "Your Name:", GUICtrlRead($Input_1)) 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. Link to comment Share on other sites More sharing options...
yoop Posted July 31, 2006 Share Posted July 31, 2006 (edited) hey im new to autoit how do i get the value of the input of this: $Input_1 = GuiCtrlCreateInput("", 10, 60, 140, 30) GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $Button_Login MsgBox(4096, "Your Name:", $Input_1, "") EndSelect WEnd Exit when i try it then the message box shows a 3 instead what i typed in Edited July 31, 2006 by yoop Link to comment Share on other sites More sharing options...
yoop Posted July 31, 2006 Share Posted July 31, 2006 thanks for fast reply i edited to code also Link to comment Share on other sites More sharing options...
BPBNA Posted July 31, 2006 Share Posted July 31, 2006 $Input_1 as you now know isnt the actual value that you type in, it is the control ID.... just so you know for the future. Link to comment Share on other sites More sharing options...
i542 Posted July 31, 2006 Share Posted July 31, 2006 $Input_1 as you now know isnt the actual value that you type in, it is the control ID.... just so you know for the future.Instead $input_1 you can enter some your text, so $input_1 can also be named $name. So you can see what is what.Confusing? i542 I can do signature me. 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