Jump to content

Child Windows


hkorchek
 Share

Recommended Posts

Using the Window Info tool for some information I have the two following line in my script:

WinActivate("CareChek", "")

WinActivate("[CLASS:WindowsForms10.window.8.a; INSTANCE:8]", "")

The first bringing up the main program window and the second I need to pull up the child window in that application. I can not for the life of me figure out how to reference it. ANything else I should be looking at?

Thanks all,

Link to comment
Share on other sites

@hkorcheck using _WinAPI_GetAncestor($handle, 1) u can get the handle of the parent window, replace $handle witn the handle of the main window, the use WinActivate($handle of the parent window)

@firefox what u mean?

Sorry Im still a little new to Autoit. Am I returning the same of the child window to something?

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