KirkHendrick Posted June 10, 2013 Share Posted June 10, 2013 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 More sharing options...
Moderators JLogan3o13 Posted June 10, 2013 Moderators Share Posted June 10, 2013 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 More sharing options...
KirkHendrick Posted June 10, 2013 Author Share Posted June 10, 2013 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 More sharing options...
Moderators JLogan3o13 Posted June 10, 2013 Moderators Share Posted June 10, 2013 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 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