sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12467
Re: [Question #205400]: How to get a reference to a child window of an app?
Question #205400 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/205400
Status: Open => Answered
RaiMan proposed the following answer:
As far as I understand, what they have done on windows in this area, then you get the windows, that are registered with the respective process (whose process id is internally stored when saying x = App('C:\some\path\to\an\exe')), in the current z-order, means frontmost is 0 and so on.
So this has nothing to do with fifo - it is just dynamic with respect to the focus given with keyboard and/or mouse actions.
But one has to be careful with that: some of the windows you get might
not be visible at all at that moment.
You might check this with the above test, by making your main app window
frontmost (if possible - the dialog window might be modal (blocking
clicks on other windows of same app until closed)).
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.