=sinister= Posted September 10, 2005 Share Posted September 10, 2005 I want my script so it asks them if you want to run the script and they have to type yes or no. If the type yes, I want my script to keep running. If they say no, i want it to exit. If they type anything else, I want it to exit. I don't want the msgbox saying if I want to run the script and you click yes or no. This is for other things too. Thanks. I got this in the help file. Im not really good with variables so thats why i need help: InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]] ) Link to comment Share on other sites More sharing options...
BigDod Posted September 10, 2005 Share Posted September 10, 2005 I want my script so it asks them if you want to run the script and they have to type yes or no. If the type yes, I want my script to keep running. If they say no, i want it to exit. If they type anything else, I want it to exit. I don't want the msgbox saying if I want to run the script and you click yes or no. This is for other things too. Thanks.I got this in the help file. Im not really good with variables so thats why i need help:InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]] )<{POST_SNAPBACK}>Along the lines of$proceed=INPUTBOX("Proceed", "Do you want to proceed", "", "", -1, 120) if $proceed="yes" then ----------- else ----------- endif Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
=sinister= Posted September 10, 2005 Author Share Posted September 10, 2005 how do I get it so that if I type yes, then it goes on with the script, but if it says no, then a pop up comes up saying "exiting..."? Link to comment Share on other sites More sharing options...
=sinister= Posted September 10, 2005 Author Share Posted September 10, 2005 (edited) Nvm, I got it. It was kinda tricky to figure out. Thanks for the script! Edited September 10, 2005 by =sinister= Link to comment Share on other sites More sharing options...
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