Sign in to follow this  
Followers 0
Guest Peykoman

md5

4 posts in this topic

#1 ·  Posted (edited)

Hi

i have start on autoit3 :(

i have look on the exampel scripts and the help file,but i found not exampel to use a passwort protection wis md5.

Gif this no exampel for it?

I found this simpel exampel on the helpfiles.

Thx for a help a newbie out :(

;
; AutoIt Version: 3.0
; Language:    English
; Platform:    Win9x/NT
; Author:        Jonathan Bennett (jon@hiddensoft.com)
;
; Script Function:
;   Demonstrates the InputBox, looping and the use of @error.
;


; Prompt the user to run the script - use a Yes/No prompt (4 - see help file)
$answer = MsgBox(4, "AutoIt Example (English Only)", "This script will open an input box and get you to type in some text.  Run?")


; Check the user's answer to the prompt (see the help file for MsgBox return values)
; If "No" was clicked (7) then exit the script
If $answer = 7 Then
    MsgBox(4096, "AutoIt", "OK.  Bye!")
    Exit
EndIf

; Loop around until the user gives a valid "autoit" answer
$bLoop = 1
While $bLoop = 1
    $text = InputBox("AutoIt Example", "Please type in the word ""autoit"" and click OK")
    If @error = 1 Then
        MsgBox(4096, "Error", "You pressed 'Cancel' - try again!")
    Else
     ; They clicked OK, but did they type the right thing?
        If $text <> "autoit" Then
            MsgBox(4096, "Error", "You typed in the wrong thing - try again!")
        Else
            $bLoop = 0 ; Exit the loop - ExitLoop would have been an alternative too :)
        EndIf
    EndIf
WEnd

; Print the success message
MsgBox(4096,"AutoIt Example", "You typed in the correct word!  Congrats.")

; Finished!
Edited by Peykoman

Share this post


Link to post
Share on other sites



Cool script, but what does this have to do with MD5? =\


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites

Cool script, but what does this have to do with MD5? =\

<{POST_SNAPBACK}>

Oh no sorry wrong forum :(

Move it pls :

I need help for it :(

Share this post


Link to post
Share on other sites

Someone converted the MD5 algorithm to AutoIt a few weeks ago, if you search 'MD5', you'll probably find 7-8 topics (probably mostly by me :(), but one has the Func and example scripts by a member (I don't remember who :()


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

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