--===============1423012844== Content-Type: multipart/signed; boundary="nextPart19999987.VYo49x3Vlv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart19999987.VYo49x3Vlv Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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. =46or 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, y= ou=20 can only ask the window if it is the active one % dcop kmail kmail-mainwindow#1 isActiveWindow Cheers, Kevin =2D-=20 Kevin Krammer, KDE developer, xdg-utils developer KDE user support, developer mentoring --nextPart19999987.VYo49x3Vlv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGUWutnKMhG6pzZJIRAgSRAJ9cW1QRVypoBExGoXsSCbZSntSFdQCeOK3/ ptKl3nSUFWVH200R6c9+mpg= =hSKQ -----END PGP SIGNATURE----- --nextPart19999987.VYo49x3Vlv-- --===============1423012844== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________ 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. --===============1423012844==--