From kde-devel Thu Oct 18 13:46:33 2007 From: Thomas Baumgart Date: Thu, 18 Oct 2007 13:46:33 +0000 To: kde-devel Subject: Re: Retrieve String from Window Message-Id: <200710181546.40961.thb () net-bembel ! de> X-MARC-Message: https://marc.info/?l=kde-devel&m=119271528518110 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1588038694==" --===============1588038694== Content-Type: multipart/signed; boundary="nextPart1328511.dePt9xJMGV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1328511.dePt9xJMGV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 16 October 2007, none none wrote: > Hello, > > I was wondering if anyone could point me in the right direction with > regards to the following problem: > > Lets say I have a program running, perhaps KEdit. > The computer user has entered text into the KEdit text window. > > I want to write a program that will act completely independently of > KEdit (i.e. with no modifications to KEdit code), with the program > being able to retrieve the string that the user wrote into the KEdit > window. > > I was thinking, at a very abstract level, that the easiest way to do > this (without logging keystrokes - I don't want to go down that road) > would be through some function of Xorg or KDE, perhaps something along > the lines of calling a function which would get the text in a textbox > within a window, against a pointer which represents the KDE KEdit > window. > > Does anyone know if this is possible? Maybe, http://www.kdab.net/?page=3Dproducts&sub=3Dkdexecutor will give you = some=20 ideas on how to solve this problem. =2D-=20 Regards Thomas Baumgart GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA =2D------------------------------------------------------------ We had joy, we had fun, we had Linux on our Sun -- anonymous source =2D------------------------------------------------------------ --nextPart1328511.dePt9xJMGV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: http://www.net-bembel.de/ iD8DBQBHF2PAnFnbQLdd07oRAqA8AJ9+o1Hqr3kdkvd0lC2/N9oZgCICwQCfUTqs 9CithNV8H6XzQrjOOu+WROU= =yhMF -----END PGP SIGNATURE----- --nextPart1328511.dePt9xJMGV-- --===============1588038694== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1588038694==--