Swift Posted January 27, 2008 Share Posted January 27, 2008 umm..heres my script...it wont close the window @ $GUI_EVENT_CLOSE....soo....anyhelp would be great #include <GUIConstants.au3> GUICreate("1", 150, 150, 1, 1) GUISetState() GUICreate("2", 150, 150, 160, 160) GUISetState() GUICreate("3", 150, 150, 250, 250) GUISetState() GUICreate("4", 150, 150, 1, 150) GUISetState() GUICreate("5", 150, 150, 1, 350) GUISetState() $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit While 1 WEnd Link to comment Share on other sites More sharing options...
Danp2 Posted January 27, 2008 Share Posted January 27, 2008 Uh... you need to move: $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then Exit within your While...WEnd. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted January 27, 2008 Share Posted January 27, 2008 (edited) umm..heres my script...it wont close the window @ $GUI_EVENT_CLOSE....soo....anyhelp would be great You have your GUIGetMsg() before the while-loop not in it!!!Edit: ohh DanP2 posted a sec earlier..... Edited January 27, 2008 by TzarAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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