Jump to content

Recommended Posts

Posted

My program is pretty much a macro for a text based IE game, so far everything is running smoothly, but it you click to fast it will send an error messege to you. My gui coords are based off the GUI in focus. when the messege pops up it takes focus off the gui thus messing with my scripts coordinates, I need a way to fix this by either detecting the messege box and send enter or someother way, any snippets that may help? Much Appreciated

- Andrew (The713)

Posted

  The713 said:

My program is pretty much a macro for a text based IE game, so far everything is running smoothly, but it you click to fast it will send an error messege to you. My gui coords are based off the GUI in focus. when the messege pops up it takes focus off the gui thus messing with my scripts coordinates, I need a way to fix this by either detecting the messege box and send enter or someother way, any snippets that may help? Much Appreciated

- Andrew (The713)

You can use WinActivate for this. Just call it before you send any keys/mouse clicks to the window.
Auto3Lib: A library of over 1200 functions for AutoIt

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