← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #169023]: Currently running application title needed

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Not a feature of Sikuli currently.

you might have a try with
http://sikuli.org/docx/globals.html#App.focusedWindow

and then read the text in the titlebar

win = App.focusedWindow()
titleBar = win.above(1).below(20) # might have to be adjusted
title = titleBar.text()

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