Adnan Posted August 7, 2016 Posted August 7, 2016 Hello guys, I am new to Autoit and also not so old in programming. So please pardon my inadequacy. I am trying to automate a third party windows application that is written in C# and requires .net to run and I am using Python's Autoit module to do it. The problem I am facing is, when clicking in a control a child window appears with some options and normally you can not select the parent window by clicking when the child window is open. you have to close the child window to access the parent window. But, using 'win_wait' or 'win_activate' I am unable to activate the child window. 'win_active' returns the title of parent window and 'win_activate_by_handle' is also not working because i think it is unable to recognize this child window. If you use win_wait the script just keeps waiting or running. So is there anyway solve this problem? Thanks in advance.
Danyfirex Posted August 7, 2016 Posted August 7, 2016 Hello. What kind of child windows is? Does it has a title? Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut
Skysnake Posted August 8, 2016 Posted August 8, 2016 Welcome @Adnan, look for the AutoIt Window Info tool on your PC. Use it to get info from your target Window. That will give you a whole lot of info, including Title, Class and Handle. That info can then be used to do manipulate the Window. Skysnake Why is the snake in the sky?
Adnan Posted August 9, 2016 Author Posted August 9, 2016 The child window has a title. I am attaching a screenshot of parent and child window if that is any help. I have tried using Autoit Window Info tool but it is not particularly useful for this software. It shows title of the window but can not detect controls. Thanks.
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