C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28695
Number of posts: 94715

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
get character from screen Posted by ba2_sa on 24 Nov 2006 at 2:09 PM
hello all;
i need to take arabic characters from the screen(a running program to be exact),i already have the locations(ie. x and y coordinates relative to the file's window... any ideas how???
PS: i also need to take the text's color..how?
i need answers as soon as possible
thx

Report
Re: get character from screen Posted by stephl on 24 Nov 2006 at 2:48 PM
: hello all;
: i need to take arabic characters from the screen(a running program to be exact),i already have the locations(ie. x and y coordinates relative to the file's window... any ideas how???
: PS: i also need to take the text's color..how?
: i need answers as soon as possible
: thx
:
:
More information is required. If I understand correctly, you've got a program X running and you want to write another program Y that would be able to get characters from the X program window. Is that right? Do you want to get a character from a console window or from a GUI?

Steph
Report
Re: get character from screen Posted by ba2_sa on 25 Nov 2006 at 9:22 AM
: : hello all;
: : i need to take arabic characters from the screen(a running program to be exact),i already have the locations(ie. x and y coordinates relative to the file's window... any ideas how???
: : PS: i also need to take the text's color..how?
: : i need answers as soon as possible
: : thx
: :
: :
: More information is required. If I understand correctly, you've got a program X running and you want to write another program Y that would be able to get characters from the X program window. Is that right? Do you want to get a character from a console window or from a GUI?
:
: Steph
:

what you said is correct, the window i need to take characters from is a running program(IBM personal Communications to be exact)
thx


Report
Re: get character from screen Posted by stephl on 25 Nov 2006 at 12:00 PM
: : : hello all;
: : : i need to take arabic characters from the screen(a running program to be exact),i already have the locations(ie. x and y coordinates relative to the file's window... any ideas how???
: : : PS: i also need to take the text's color..how?
: : : i need answers as soon as possible
: : : thx
: : :
: : :
: : More information is required. If I understand correctly, you've got a program X running and you want to write another program Y that would be able to get characters from the X program window. Is that right? Do you want to get a character from a console window or from a GUI?
: :
: : Steph
: :
:
: what you said is correct, the window i need to take characters from is a running program(IBM personal Communications to be exact)
: thx
:
:
:
Is it a console window or a graphical one (GUI)? If it's a graphical window, I really cannot imagine how to do it, or at least I can only see very difficult solutions (like OCR). If it's a console window, perhaps it's possible to get the screen buffer address and then get the character and its attributes.

Steph



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.