Re: Getting the text under the cursor from any application
- From: "Paul Dunn" <paul.dunn4@xxxxxxxxxxxx>
- Date: Tue, 10 Jan 2006 13:46:33 GMT
Andreas Koch wrote:
> etherington19@xxxxxxx wrote:
>
>> Is this really feasible.
> Well, its the only way if you want to be able to handle every app.
> If an app displays its text by rendering it into a bitmap, its no
> text anymore. How do you want to get that text back? You can get
> certain things working with getwindowtext etc, but that won't help
> for all apps.
My own flagship app, BASin (an IDE for a BASIC language, written in Delphi)
doesn't display any system text in the editor - it's *all* bitmapped. You'd
need to get access to BASin's memory to pull the text out, and even then
it's not actually stored as text, but tokens.
So yes, OCR is the *only* way.
D.
.
- Follow-Ups:
- Re: Getting the text under the cursor from any application
- From: Nicholas Sherlock
- Re: Getting the text under the cursor from any application
- References:
- Getting the text under the cursor from any application
- From: Born
- Re: Getting the text under the cursor from any application
- From: Andreas Koch
- Re: Getting the text under the cursor from any application
- From: etherington19@xxxxxxx
- Re: Getting the text under the cursor from any application
- From: Andreas Koch
- Getting the text under the cursor from any application
- Prev by Date: Re: Multiple destructors?
- Next by Date: Re: D7, service packs and borland's website...
- Previous by thread: Re: Getting the text under the cursor from any application
- Next by thread: Re: Getting the text under the cursor from any application
- Index(es):
Relevant Pages
|