Jullaras Posted March 30, 2007 Share Posted March 30, 2007 Hello this time i have a question about the inputbox let's use this code for example $give=inputbox(("Give","Give") it shows something give in the blue line give as text a textbox and two buttons ok and cancel i want when the user presses the cancel to exit the programm am i specific enough ? Tick tock time is passing away leaving us naked Link to comment Share on other sites More sharing options...
Danny35d Posted March 30, 2007 Share Posted March 30, 2007 InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]] )Check the help file and look for the return value.$give=inputbox("Give","Give") If @error = 1 Then MsgBox(0, 'Exit Script', 'User press Cancel.') Exit EndIf MsgBox(0, 'InputBox', $give) AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
Jullaras Posted March 30, 2007 Author Share Posted March 30, 2007 thanx you very much Tick tock time is passing away leaving us naked 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