megha Posted March 26, 2013 Posted March 26, 2013 Hi,I have two windows open- parent & child. I need these windows to close for futher execution of my scriptI have been facing some difficulty in closing the child window. I have tried using:$handle=WinGetHandle("Child window title","") -> (If I substitute the Title with 'parent window title', only parent window gets closed.)WinClose($handle)orWinClose=("[ACTIVE]") ->( closes my commad prompts/ autoit editor)orWinKill=("[ACTIVE]") -> (kills my commad prompts/ autoit editor)I tried adding AutoItSetOptions as well (WinTitleMatchMode/ WinSearchChildren/ WinDetectHiddenText) but in vain.Looks like it's not detecting the child window at all. Would really appreciate some help here!Thanks!
czardas Posted March 26, 2013 Posted March 26, 2013 Have you tried using the AutoIt Window Info Tool? operator64 ArrayWorkshop
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now