Johnco_uk Posted September 8, 2004 Share Posted September 8, 2004 (edited) looking at the help file for autoit 3, I am lost as to how to script on which buttons on the msgbox are pressed, the example in the help for autoit informs you of the number ID that is returned, however fails to give an adequate example :/ and searching on the net for something so simple is driving me insaneeee!!! helppppp!!!! I want to present the user with a box with buttons to allow selection of a LIVE database system, or a TEST database system, or exiting, if you can think of a better solution than the simple msgbox approach below, feel free to share your knowledge as an example I tried a few variations (see below) MsgBox(4096+3, "xxxx Login Start", "Start Live/Test xxxxx Login ?" & CHR(13) & CHR(13) & "YES - Start LIVE xxxxx system" & CHR(13) & CHR(13) & "NO - Start TEST xxxxx System" & CHR(13) & CHR(13) & "CANCEL - Exit & abort") If @error=6 Then msgbox(4096, "hello", "You Pressed YES") Endif Edited September 8, 2004 by Johnco_uk [font="Optima"]'The impossible I can do.. miracles take a little longer...[/font] 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