Sign in to follow this  
Followers 0
lordlol

ISO a Gui, with a input line..

5 posts in this topic

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" Then

msgbox(64,"Test","Test-Tool will start now")

Else

Exit

endif

But 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

Share this post


Link to post
Share on other sites



=)?

Share this post


Link to post
Share on other sites

...

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0