Sign in to follow this  
Followers 0
Mack

Password Question.

3 posts in this topic

Hello,

Iam getting more interrested in AutoIt but i got a question ( again )..

Ive got an inputbox like

$passwd = InputBox("Security Check", "Enter your password.", "", "*")
if $passwd = Piet Then Run ("Explorer.exe")

Now i wanna do if its something else it gives an error

Share this post


Link to post
Share on other sites



Hello,

Iam getting more interrested in AutoIt but i got a question ( again )..

Ive got an inputbox like

$passwd = InputBox("Security Check", "Enter your password.", "", "*")
if $passwd = Piet Then Run ("Explorer.exe")

Now i wanna do if its something else it gives an error

<{POST_SNAPBACK}>

so if it is what you want, then you want it to load explorer, else it should display a message box?

there are definitely examples for this in the help file....


1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Hello,

Iam getting more interrested in AutoIt but i got a question ( again )..

Ive got an inputbox like

$passwd = InputBox("Security Check", "Enter your password.", "", "*")
if $passwd = Piet Then Run ("Explorer.exe")

Now i wanna do if its something else it gives an error

<{POST_SNAPBACK}>

$pass = "Piet"
$passwd = InputBox("Security Check", "Enter your password.", "", "*")
if $passwd = $pass Then Run ("Explorer.exe")

That should do it... im at work now so I can't test it. You may also need to put the full directory of explorer.exe (program files etc.)


[font="Impact"] I always thought dogs laid eggs, and I learned something today. [/font]

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