← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #255170]: How do I catch switchApp failure?

 

Question #255170 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/255170

    Status: Solved => Open

Osiris2258 is still having a problem:
After more careful evaluation, this method for catching the error can
only tell if the window has closed. It will return null if the window is
not present. But if the window is present and simply fails to move to
the front, this will not be caught. That seems to happen if running from
inside another python script:  the window icon on the taskbar will flash
as if a message has appeared, but it will not actually bring the window
forward, and thus the script fails to find things as they are behind
other objects.

Is there a way to tell sikuli to look inside a specific window even if
it is not on focus? Alternately, is there a way to get it to override
the above issue and force the window forward?

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