Reading text from external window

Just starting out? Need help? Post your questions and find answers here.
drahneir
Enthusiast
Enthusiast
Posts: 105
Joined: Tue Jul 18, 2006 4:18 pm
Location: JO42RM

Reading text from external window

Post by drahneir »

I have an external Windows program which I use frequently.
There are some controls on the window of that program, but EnumChildWindows() gives no result.
And when I explore the window with an analyze program, in my case 'Windowse', there is also no child window.
So it's obvious, that the program isn't developed under Windows.
But I want to have access to the data which are contained in some of the controls
Is there a way to read text from that window?
User avatar
JHPJHP
Addict
Addict
Posts: 2251
Joined: Sat Oct 09, 2010 3:47 am

Re: Reading text from external window

Post by JHPJHP »

Hi drahneir,

Can you see if my Shellhook (Window Watcher) program picks anything up?
- http://www.purebasic.fr/english/viewtop ... 12&t=60881

Run wwatcher.exe first before opening the "external Windows program", it's not necessary but it should capture more events.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
drahneir
Enthusiast
Enthusiast
Posts: 105
Joined: Tue Jul 18, 2006 4:18 pm
Location: JO42RM

Re: Reading text from external window

Post by drahneir »

@JHPJHP
Thanks for your reply.
When the external window is open, WWatcher shows the data of the window.
The only event WWatcher reacts on is when a subwindow is opened and closed.
Post Reply