Jump to content

Can't make AutoIt wait for window - help...


Recommended Posts

I'm trying to do the following and can't figure it all out:

Have an autoit script wait for a specific window to appear.

Click a button on that window.

Wait until the next time the window shows up and repeat the process.

Basically, there's a very annoying message window that I need to hit "enter" on roughly once an hour (there's no exact timing as to when it will pop up) and I'd like to write a script so that AutoIt can simply hit "enter" for me every time the window appears.

I've successfully written a script to click the actual button, but I can't figure out how to make a script which sits in my system tray 24/7 just waiting for a particular window to appear. Any help would be greatly appreciated.

Link to post
Share on other sites
  • Developers

I'm trying to do the following and can't figure it all out:

Have an autoit script wait for a specific window to appear.

Click a button on that window.

Wait until the next time the window shows up and repeat the process.

Basically, there's a very annoying message window that I need to hit "enter" on roughly once an hour (there's no exact timing as to when it will pop up) and I'd like to write a script so that AutoIt can simply hit "enter" for me every time the window appears.

I've successfully written a script to click the actual button, but I can't figure out how to make a script which sits in my system tray 24/7 just waiting for a particular window to appear.  Any help would be greatly appreciated.

<{POST_SNAPBACK}>

see here for a similar issue: http://www.autoitscript.com/forum/index.php?showtopic=10903

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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

    No registered users viewing this page.

×
×
  • Create New...