Velius Posted July 3, 2008 Posted July 3, 2008 Hi Can anybody please provide me with a sample script thalts the script displaying a message box and and a button. As soon as the button is pressed the script goes on. ..well, if possible. muttley Thanks.
H5O20H Posted July 3, 2008 Posted July 3, 2008 (edited) #include <GUIConstants.au3> $Form1 = GUICreate("Form1", 52, 27, 193, 125, -1, $WS_EX_TOOLWINDOW) GUISetBkColor(0xA6CAF0) $Button1 = GUICtrlCreateButton("Button1", 8, 8, 35, 9, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit case $Button1 msgbox(0,"Phail","Next time use the search button,okay?") EndSwitch WEnd Edited July 3, 2008 by H5O20H Valik, The Legendary programmer!Will be using that signature for 2 months due to my loss on a bet ):
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