← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #235183]: Can I use Sikuli to get a window title?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Sorry, currently not a feature.

The only trick you can do is to try to switch through the window title
candidates and check, wether the frontmost window is the one you expect,
by checking some distinctive visual content.

App.focus("Purkinje|Dossier - Dashboard")
if App.focusedWindow().exists("some distinctive image.png")
    print "this is my window"
elif ....

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