← Back to team overview

sikuli-driver team mailing list archive

[Question #251682]: Mac: focusedWindow taking very long and returns null

 

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

I use App.focusedWindow() to find the focused window of my app. I know that my app is currently active.
When my normal app window is in front I get a sensible answer with 50 ms or so.

>>> When I have a progress dialog in front it takes 6000 ms and returns null. This is too long and null is of little help!

Recognising dialogs is what I actually want to do.
My app is an eclipse RCP app. I use Mac OSX 10.9.4 and sikulix 1.1.0-Beta1.
focusedWindow() dives into native code fairly quick so there is little I can debug here.

Any help appreciated...
Tom

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