Mack Posted August 18, 2005 Posted August 18, 2005 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
seandisanti Posted August 18, 2005 Posted August 18, 2005 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....
ame1011 Posted August 18, 2005 Posted August 18, 2005 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]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now