Jump to content

Need a Lock Utility


Recommended Posts

Posted

thats it! im gonna learn lol, where can i download a visual c++ trial program lol, i wanna try this out :P


Posted

WinSetOnTop("Input password to continue")
$bLoop = 1
While $bLoop = 1
   $passwd = InputBox("Input password to continue", "Please type in the password and click OK", "", "*",)
   If @error = 1 Then
      winactive("My Computer")
      winclose("My Computer")
      msgbox(1, "Wrong password". "Password incorrect")
   Else
     ; They clicked OK, but did they type the right thing?
       If $passwd <> "autoit" Then
           winactive("My Computer")
           winclose("My computer")     
    Else
           $bLoop = 0  ; Exit the loop - ExitLoop would have been an alternative too :)
       EndIf
   EndIf
WEnd

This work? slightly modified of input example

not totaly flawless off course

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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