Jump to content

How to Read Dialog Box?


Recommended Posts

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

Link to comment
Share on other sites

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

Welcome 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
Link to comment
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
 Share

  • Recently Browsing   0 members

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