Link to home
Start Free TrialLog in
Avatar of dontso
dontso

asked on

How to "listen" for text changes in a particular part of a window.

Is it possible with c# to recognize if a text changes in a particular part of a window. eg. a rectangle in the upper right corner of the window.

I´m thinking about something like telling the application to notice changes in a rectangle (eg. 10x2 cm).
If changes are notice the application should copy the text to a variable.

Can you help me?
Avatar of CaldNT
CaldNT

Is the text you want to monitor part of any control(textbox, label)?

How is the text changed? By what?
Avatar of dontso

ASKER

The text is in a flash application, so I guess (I dont know) I cant access any controls.
The text is changing by itself when news is recieved from a server.
I would like to get a notice on my screen when the text is changing. (eg. a messagebox showing the text that changed), but that I can do myself.
I just have no idea how to 1. let my application know when the text changes. 2. copy the text.
By the way: the text is not like an animation. It can be highlighted with the mouse and copy/pasted (maybe that makes a difference?)
Can you modify the Flash application?

If so you should probably put code in it to notify the checking application.
Ask in the Flash forum:
https://www.experts-exchange.com/Web/WebDevSoftware/Flash/
Avatar of dontso

ASKER

Unfortunately I cannot modify the flash application.
I guess the only choice is to make c# "listen" to change in the way the screen looks. Is that possible in any way?
ASKER CERTIFIED SOLUTION
Avatar of CaldNT
CaldNT

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dontso

ASKER

Thanks for your help.