Jump to content

Protect window with pass


Recommended Posts

$protectedWindow=GUICreate("2nd window")
$pass=InputBox("Password","Enter Some Password","","*")
if $pass="Secret" then 
    GUISetState(@SW_SHOW,$protectedWindow)
    while 1
    WEnd
Else
    MsgBox(0,"ERROR","Wrong!")
EndIf

or so...

it does not work if i add things to the window Edited by Hello Me You
Random
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...