How to get a reference to a child window of an app?
Asked by
Mike Williamson
I am writing a script to launch an App and then search within it. The search window appears when I click the appropriate button and I would like to get the Region for just that window.
I tried using myapp.window(1) thinking that this would give me a region for just the search window that had been opened. Saving a capture of the region reveals that it gives me the entire App window. My script was working only because the search window falls within the bounds of the App window.
How can I get the region of just the child window of this app?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Mike Williamson
- Solved:
- Last query:
- Last reply:
To post a message you must log in.