Kinjid Posted September 23, 2007 Share Posted September 23, 2007 Okay first one msgbox(04, "Welcome", "Would you like to continue?") okay that makes it as Yes/No but what i dont know how to do is how to like if a person picks yes make its make a gui screen appear, or no, make it exit with a msg saying Good bye. Link to comment Share on other sites More sharing options...
Achilles Posted September 23, 2007 Share Posted September 23, 2007 (edited) Okay first one msgbox(04, "Welcome", "Would you like to continue?") okay that makes it as Yes/No but what i dont know how to do is how to like if a person picks yes make its make a gui screen appear, or no, make it exit with a msg saying Good bye.$pass = msgbox(04, "Welcome", "Would you like to continue?");Assigns the answer of the message box to a value If $pass = 7 then;If the value is 7 it means the user clicked no Msgbox(0, "Good bye", "Have a nice day!") Exit EndIf GuiCreate('Testing');Create the window GuiSetState();Show the window While 1;Loop forever or until exited Switch GuiGetMsg();Receive any events that happen to the window you created Case -3;If the exit button was pressed (this could also be $GUI_EVENT_CLOSE) Exit EndSwitch WEnd EDIT: Welcome to the forums! EDIT2: Added the part about when the user says no. Edited September 23, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Kinjid Posted September 23, 2007 Author Share Posted September 23, 2007 okay one more, whats a program that you know of that makes guis and gives you the code? for the gui? Link to comment Share on other sites More sharing options...
Achilles Posted September 23, 2007 Share Posted September 23, 2007 http://www.autoitscript.com/forum/index.php?showtopic=32299 My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
RandomGuest Posted September 23, 2007 Share Posted September 23, 2007 It would be cool if there was like an admin section where you need the password to continue.. Link to comment Share on other sites More sharing options...
Achilles Posted September 23, 2007 Share Posted September 23, 2007 It would be cool if there was like an admin section where you need the password to continue..Did I miss something??? My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Kinjid Posted September 23, 2007 Author Share Posted September 23, 2007 It would be cool if there was like an admin section where you need the password to continue..um this isnt a thing where there needs to be a admin section, im making a auto-bot for runescape.Did I miss something??? I'm not sure i think he is a noob, I think we better start spraying N00B repeliant Link to comment Share on other sites More sharing options...
RandomGuest Posted September 23, 2007 Share Posted September 23, 2007 Oh, no sorry about that lol.. i sorta went off topic Link to comment Share on other sites More sharing options...
Kinjid Posted September 23, 2007 Author Share Posted September 23, 2007 Oh, no sorry about that lol.. i sorta went off topicya... Link to comment Share on other sites More sharing options...
Achilles Posted September 23, 2007 Share Posted September 23, 2007 (edited) I think we better start spraying N00B repeliant Edited September 23, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] 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