[kde-linux] Current window title

Luciano ES junk at braziliantranslation.net
Tue May 29 07:37:08 UTC 2007


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 at 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
********************************



More information about the kde-linux mailing list