Jump to content

Every GUI Window(no matter what) Flashes Constantly


Recommended Posts

Hi, I'm relatively new to AutoIt, but I'm having a problem with every script I write... The window flashes constantly, like every 3 seconds or so. Even if the entire script consists of "msgbox(0, "Title", "Sample Message")" the screen will flash and unfocus and then refocus on the window over and over. It's incredibly frustrating, especially since I'm trying to create more advanced GUI applications and I can't type in the boxes because it loses focus.

I have tried _WinAPI_FlashWindowEx and it didn't work. 

Maybe it has to do with my Windows settings?

I would appreciate any help. Thanks.

Link to comment
Share on other sites

  • Moderators

Hi, KirkHendrick. How about:

  • A small script reproducing the problem
  • The version of Windows you're on
  • The version of AutoIt you're using

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

msgbox(0, "Message Box", @scriptdir)

This flashes constantly. Along with all other GUI windows.

I'm using Windows 7 Professional.

AutoIt version 3.3.8.1

Also I noticed that the AutoIt "Check for Updates" that I just did to see the version number also flashed, just as my windows do.

Hope that helps.

Link to comment
Share on other sites

  • Moderators

If your script is literally just this:

MsgBox(0, "Message Box", @ScriptDir)

I would check your Task Manager to see what else might be running. I don't see that causing windows to flash.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...