[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-linux
Subject: Re: [kde-linux] Current window title
From: Luciano ES <junk () braziliantranslation ! net>
Date: 2007-05-29 7:37:08
Message-ID: 200705290437.09026.junk () braziliantranslation ! net
[Download RAW message or body]
Hello, Kevin. Thank you for your input. Unfortunately, that won't solve my
problem. I need to run a script, but only if OpenOffice is NOT the current
window. If anyone has any idea about how I can do that, I'll really
appreciate it.
Best regards,
--
Luciano ES
Santos, SP - Brasil
>>
********************************
On Monday 21 May 2007 07:00, kde-linux-request@kde.org wrote:
> From: Kevin Krammer
> Subject: Re: [kde-linux] Current window title
> On Monday 21 May 2007, Luciano ES wrote:
> > Can I get the current window's title/caption with DCOP? For example:
> > "Current window title - KMail" - that's what I see right now.
> > How?
> Depends what exactly you are looking for.
> For example getting KMail's window title (caption) works like this#
>
> % dcop kmail kmail-mainwindow#1 caption
>
> However it is not possible to query KWin for the currently active window,
> you can only ask the window if it is the active one
>
> % dcop kmail kmail-mainwindow#1 isActiveWindow
>
> Cheers,
> Kevin
********************************
___________________________________________________
This message is from the kde-linux mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic