1. How to monitor a window content
- Posted by Matteo <blue_dolphin at INWIND.IT>
Mar 20, 1998
-
Last edited Mar 21, 1998
Hello to everyone.
I have a problem and I hope someone thru Euphoria can help me.
I want to monitor the content of a window (in details, it's a window
displaying the price of some stocks I have to keep an eye on).
I just want a small utility that makes a sound whenever something inside
this window (when it's in foreground, in the background or minimized) changes.
Is it possible to do using Euphoria?
I'm looking forward to hear from you.
Best regards,
2. Re: How to monitor a window content
Hmmm, is this window a web page? Is it a program connecting to the
Internet?
Alan
----- Original Message -----
From: "Matteo" <blue_dolphin at INWIND.IT>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, March 20, 1998 1:44 PM
Subject: How to monitor a window content
> Hello to everyone.
>
> I have a problem and I hope someone thru Euphoria can help me.
>
> I want to monitor the content of a window (in details, it's a window
> displaying the price of some stocks I have to keep an eye on).
>
> I just want a small utility that makes a sound whenever something inside
> this window (when it's in foreground, in the background or minimized)
changes.
>
> Is it possible to do using Euphoria?
>
> I'm looking forward to hear from you.
>
> Best regards,
>
3. Re: How to monitor a window content
If this content is text in edit window you could use C hook functions
(SetWindowsHookEx...), calling them from library. That way you can receive
messages for all windows and respond to them. (messages for edit windows
exist in Windows so you could use them to monitor when content of edit
window changes).
I have coded a program that does that in C language, but its pretty
unstable, don't know if everything is working right. It monitors key presses
and when escape key is pressed in any program that program quits. (so you
can quickly quit a program) . It was complicated in C...
I don't know If someone has already made euphoria library to hook messages
from windows functions, but it would be very useful. It would have to be
more simple than in C.
With such a library you could monitor WM_ and other messages from
windows from other Win programs with euphoria program.
Or is there already another way of monitoring windows messages, in euphoria?
----- Original Message -----
From: Matteo <blue_dolphin at INWIND.IT>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, March 20, 1998 8:44 PM
Subject: How to monitor a window content
> Hello to everyone.
>
> I have a problem and I hope someone thru Euphoria can help me.
>
> I want to monitor the content of a window (in details, it's a window
> displaying the price of some stocks I have to keep an eye on).
>
> I just want a small utility that makes a sound whenever something inside
> this window (when it's in foreground, in the background or minimized)
changes.
>
> Is it possible to do using Euphoria?
>
> I'm looking forward to hear from you.
>
> Best regards,
4. Re: How to monitor a window content
----- Original Message -----
From: "Skoda" <tone.skoda at SIOL.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Monday, March 20, 2000 3:50 PM
Subject: Re: How to monitor a window content
<snip>
> I don't know If someone has already made euphoria library to hook messages
> from windows functions, but it would be very useful. It would have to be
> more simple than in C.
>
> With such a library you could monitor WM_ and other messages from
> windows from other Win programs with euphoria program.
The first thing i'd do with an lib like this is to write a better DUN
interface than Dunce or the others, and a better interface to IE, if that's
possible. But given that Virginia passed the law giving software oems
undefined ( but umlimited ) access to my puter, i think i may never allow
the windoze box internet access in the near future, so those two projects
would be a waste of time,,, time changes everything.
Kat
5. Re: How to monitor a window content
- Posted by Matteo <blue_dolphin at INWIND.IT>
Mar 21, 1998
-
Last edited Mar 22, 1998
At 21.11 20/03/00, you wrote:
>Hmmm, is this window a web page? Is it a program connecting to the
>Internet?
>
>Alan
Hello Alan.
Yes, it's a program connecting to the Internet, Realtick III.
Hope this can help you to help me... :)
Bye for now!
Matteo