← 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:
I didn’t get you. As we can close the app by its title, is there any way
to get that title without drag and drop or moving the cursor. Shall I
have to use any python or java function for that.

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: Sunday, August 28, 2011 12:46 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:
You say: When I compiled your given script, it was printing something
else

That might be, because the OCR feature has still many problems. You have
to adjust the region of the title bar to the text part only

titleBar = win.above(1).below(20) # might have to be adjusted
titlebar.highlight(3)

so you can see the region and optimize it step by step

-- 
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=2

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.