Tells if specified child window exists.
WinExistChild ("partial-parent-windowname", "partial-child-windowname")
(s) partial-parent- windowname the initial part of, or an entire parent window name.
(s) partial-child-windowname the initial part or, or an entire child window name.
(i) @TRUE if a matching window is found; @FALSE if a matching window is not found.
Use this function to test for the existence of a child window.
Note: The partial window names you give must match the initial portion of the window name exactly, as it appears in the title bar, including proper case (upper or lower) and punctuation. The parent window must exist or this function will return an error.
Run(StrCat(DirHome(),"winbatch studio.exe"),"") list = WinItemChild("WinBatch Studio") choice = AskItemlist("Choose the child window to activate", list, @TAB, @UNSORTED,@SINGLE) If WinExistchild("WinBatch Studio",choice) WinActivechild("WinBatch Studio",choice) EndIf
AppExist, WinActivate, WinClose, WinExeName, WinGetActive, WinItemize, WinItemChild, WinState, Partial Window Names