Jump to content

Any way to find child dialogs of a specific win?


Recommended Posts

Guest nickmatic
Posted

Hi all-

Trying to automate a running application, but need to check that there are no child dialog boxes open before proceeding. Need to look for any child dialogs specific to that parent only since there are too many possibilities with some apps and some dialogs like "Save Changes?" might be open for other apps at the same time.

Any ideas? Thanks!

Posted

Hi all-

Trying to automate a running application, but need to check that there are no child dialog boxes open before proceeding. Need to look for any child dialogs specific to that parent only since there are too many possibilities with some apps and some dialogs like "Save Changes?" might be open for other apps at the same time.

Any ideas? Thanks!

Best thing I can think of is run the script and put in a bunch of if thens or cases based on whether or not the parent window is active. If there's a bunch of possibilities I don't thing adlib would be good.

Rick

Guest nickmatic
Posted

Good point about the parent being active. There might be a good solution there for some apps, but some apps allow the parent to be activated even when there's a child dialog, even when they shouldn't...

May opt to implement the feature myself....

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
×
×
  • Create New...