klaron Posted March 8, 2007 Posted March 8, 2007 Hello, Apologies in advance as this must be in the forums but I cannot find it. I simply want AutoIT to sit and wait in a loop until one of two possible dialog boxes appear from a program, once that has occured the program can advance appropriately. So the question is how to I poll the dialog box and feed feed information into a variable? Thank you
PaulIA Posted March 8, 2007 Posted March 8, 2007 Hello,Apologies in advance as this must be in the forums but I cannot find it.I simply want AutoIT to sit and wait in a loop until one of two possible dialog boxes appear from a program, once that has occured the program can advance appropriately. So the question is how to I poll the dialog box and feed feed information into a variable?Thank youWelcome to the forum. You will want to investigate functions such as WinActive, WinExists and WinWaitActive in the AutoIt help file. These functions will tell you if a window exits and is active, based on the title of the window. The help file also has a tutorial ("Simple Notepad Automation") that shows how it starts Notepad and then waits for it to become active that you can look at for an example.If you have a specific problem that you need help with, please post a small piece of code here that shows the problem you are having and we'll be glad to help you out. Auto3Lib: A library of over 1200 functions for AutoIt
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