Mac: focusedWindow taking very long and returns null
Asked by
tombrus
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
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.