lordlol Posted November 4, 2007 Share Posted November 4, 2007 Hello guys.Im in search of a script(a Autoit3 GUI) which should have a input line(like inputbox).It should be possible to check if the insered word is correct.I actually want to protect a script with a password.I always did it this way:$pwcheck=inputbox("Test","Insert PW")if $pwcheck="123" Thenmsgbox(64,"Test","Test-Tool will start now")ElseExitendifBut now I want a thing like this,but the only reason to make a gui for this is, that i wanna have a pic included(in the GUI), so i cant use inputbox-way anymore.I hope u can help me :/Thank you in advance,lordlol Link to comment Share on other sites More sharing options...
lordlol Posted November 4, 2007 Author Share Posted November 4, 2007 =)? Link to comment Share on other sites More sharing options...
lordlol Posted November 5, 2007 Author Share Posted November 5, 2007 ... Link to comment Share on other sites More sharing options...
Xenobiologist Posted November 5, 2007 Share Posted November 5, 2007 Hi,GUICtrlCreateInput So long,Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Vindicator209 Posted November 6, 2007 Share Posted November 6, 2007 Create a GUI, perhaps with koda, using InputBoxes (refer to above post), and also a button. then use GuiCtrlRead() to read the input box, and use the same technique to check it... $Password = GuiCtrlRead($Input1) If $Password = "123mypassword" Then MsgBox(0,"Correct!","Correct Password!") Else MsgBox(0,"Incorrect!","Incorrect Password!") EndIf [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] 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