[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Retrieve String from Window
From:       Thomas Baumgart <thb () net-bembel ! de>
Date:       2007-10-18 13:46:33
Message-ID: 200710181546.40961.thb () net-bembel ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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=products&sub=kdexecutor will give you some 
ideas on how to solve this problem.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
We had joy, we had fun, we had Linux on our Sun -- anonymous source
-------------------------------------------------------------

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic