Sign in to follow this  
Followers 0
AzKay

AutoIt bug?

3 posts in this topic

#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- #

Share this post


Link to post
Share on other sites



#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.

Share this post


Link to post
Share on other sites

My mistake then, I was interchanging data between two scripts, and I mustve missed the -1.


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0