← 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: Answered => Open

Vinay Kulkarni is still having a problem:
Hi RaiMan,

When I compiled your given script, it was printing something else. What
to do?

Thanks & Regards,
Vinay Kulkarni
Ishnatek Systems & Services Pvt. Ltd.
Contact : +91 8956345939

-----Original Message-----
From: bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] On Behalf Of RaiMan
Sent: Saturday, August 27, 2011 3:41 PM
To: vinay@xxxxxxxxxxxx
Subject: Re: [Question #169023]: Currently running application title needed

Your 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()

-- 
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/169023/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/169023

You received this question notification because you asked the question.

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