Jump to content
Sign in to follow this  
Mack

Password Question.

Recommended Posts

Mack

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
seandisanti

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....

Share this post


Link to post
Share on other sites
ame1011

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  

×