AzKay Posted January 18, 2009 Share Posted January 18, 2009 #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> $Form1 = GUICreate("", 302, 0, 193, 121, -1, BitOR($WS_SYSMENU,$WS_CAPTION)) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Running this in SciTE, Beta Run. Then, after it running, I exit it via tray; and everything just starts flashing. Basically, I have to restart the computer. I asked my friend to try it, and it does the same for him. Does this happen for anyone else? # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 18, 2009 Moderators Share Posted January 18, 2009 #include <WindowsConstants.au3> #include <GUIConstantsEx.au3> $Form1 = GUICreate("", 302, 0, 193, 121, -1, BitOR($WS_SYSMENU,$WS_CAPTION)) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd 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...
AzKay Posted January 18, 2009 Author Share Posted January 18, 2009 My mistake then, I was interchanging data between two scripts, and I mustve missed the -1. # MY LOVE FOR YOU... IS LIKE A TRUCK- # 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