← Back to team overview

sikuli-driver team mailing list archive

[Question #205400]: How to get a reference to a child window of an app?

 

New question #205400 on Sikuli:
https://answers.launchpad.net/sikuli/+question/205400

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?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.