MCT Posted January 25, 2005 Author Posted January 25, 2005 thats it! im gonna learn lol, where can i download a visual c++ trial program lol, i wanna try this out
ev0_05 Posted January 25, 2005 Posted January 25, 2005 WinSetOnTop("Input password to continue")$bLoop = 1While $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 EndIfWEndThis work? slightly modified of input examplenot totaly flawless off course
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now