Jump to content

Recommended Posts

Posted

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,

Posted

try _WinAPI_GetAncestor($handle, 1) to get parent window's handle

Look at AnyGui.au3 for add child window to an existing window

Posted

@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?

Posted

@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?

Posted

@firefox what u mean?

AnyGui.au3 is an udf on autoit exscript forum with you can add child to a window and add controls on it :mellow:

Posted (edited)

what's the point of this in this post?

that's written in the first post that he want to pull up child window in application

Edited by FireFox
Posted

if u know the title what's the problem:

WinActivate( "User Management" , "")
That was the first thing I tried. I am assuming that it will only work for windows that show in the task bar and not child windows like this one.

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