eskimoooo Posted March 11, 2007 Share Posted March 11, 2007 Sorry for newbie question but : While $exit = 0 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Case $msg = $Button1 Button1() WEnd I know something is missing to make sure that after closing Button1 program would continue the loop on..... Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 11, 2007 Moderators Share Posted March 11, 2007 (edited) Sorry for newbie question but :While $exit = 0 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Case $msg = $Button1 Button1()WEndI know something is missing to make sure that after closing Button1 program would continue the loop on.....When you look at that... do you think you see enough information to give you an answer that would help you? You have Variables that aren't defined for us, and functions that don't exist to us, not to mention that you are missing an EndSelect which tells me that is your issue or you have cut out even more code. Edited March 11, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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