Morthawt Posted May 6, 2011 Share Posted May 6, 2011 How do you have it to where you type into a GUI create input and upon pressing enter it will press the correct button to continue? I do not know how Thanks Free and easy Autoit scripting video tutorials (plus more videos always coming!) General video tutorials, especially correct and safe TeamSpeak permissions tutorials. Link to comment Share on other sites More sharing options...
smartee Posted May 6, 2011 Share Posted May 6, 2011 hi Morthawt, Have a look at the GUICtrlSetState() function, you may be interested in states $GUI_DEFBUTTON,$GUI_FOCUS. Also, look at/search GUISetAccelerators() in the helpfile. Hope this helps -smartee Link to comment Share on other sites More sharing options...
pieeater Posted May 6, 2011 Share Posted May 6, 2011 you could use HotKeySet() HotKeySet("{enter}", "check") Func check() $txt=ControlGetText("","",$input1) If $txt == "CrAzY" Then func1() If $txt == "holy impossability" Then func2() EndFunc if the text from the inbox is CrAzY then func1() will happen [spoiler]My UDFs: Login UDF[/spoiler] 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