Jump to content

Recommended Posts

Posted

Any particular reason you use this

Case BitAND(WinGetState($hDebugWindow),16) == 16 ;; minimized window.
                Sleep(1000) ;; minimize cpu-use (1sec)
Rather than the $GUI_EVENT_MINIMIZE (= -4) message? I also thought sleep(1000) is to long in a GUI loop. You could end up losing messages in the queue.
Posted

Sleeping more than 250ms has proven that messages gets lost in (are removed from) the queue. Not sure how or why. I made a test program ones to verify this behaviour and some of the more seasoned scripters have also verified it in the forum.

But if sleep(1000) works for you the all is well and good :P

  • 2 weeks later...
Posted

If your determined upon a AutoIt Tail application you should probably check out the API calls FindFirstChangeNotification and friends. Sample at codeproject

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
  • Recently Browsing   0 members

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