Thank you.
 
But it seems XRunner is not avaliable on Linux.
Any other tools I can use? Whether free or not...
 
Thanks

"Bryan W. Headley" <[EMAIL PROTECTED]> wrote:
Carsten Haitzler (The Rasterman) wrote:
> On Thu, 14 Aug 2003 14:07:54 -0700 (PDT) dd jj <[EMAIL PROTECTED]>babbled:
>
>
>>Hello everyone,
>>
>>I hope this is the correct mailing list to post these questions... Could you
>>please give some comments on them? thanks.
>>
>>1) Now I want to search a button with specific caption, such as "Save" or
>>"Cancel".. "Ok" on X window (no matter GNOME or KDE) screen. Can I implement
>>this under different desktop enviroments(KDE,GNOME) with Xlib programming? Or
>>it's toally impossible?
>
>
> no. you can't. there is no foolproof generic way of detecting a widget
> irrespective of widget set. you'd need to do hacks in each widget set to do
> this. not to mention programs that use other widget sets or don't use them at
> all.

XRunner does it, but the authors don't have a generic foolproof method,
either: they have to implement different sensing algorithms for every X
toolkit. Also, they cannot sense the toolkit a given application uses,
either: although if the library were dynamically linked, you could infer
which toolkit might be used.

Heh heh... grab a screenshot of a given rectangle and run an OCR library
on it.


--
____ .:. ____
Bryan W. Headley - [EMAIL PROTECTED]

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Reply via email to