Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Scripting of User Interaction for IE

0 views
Skip to first unread message

Chris Hamilton

unread,
Feb 15, 1999, 3:00:00 AM2/15/99
to
OK, what I am trying to do is rather simple. I need to automatically
browse through a sources website and get information.
What I want to do is build a program that will log all events that occurs
inside IE such as mouse moves,clicks, keypresses, etc..
All this for a variety of pages that have html and applets. Then mark which
inputs I need to be variables and then save the sequence.
The client will then execute and take in the variable inputs and spit back a
formated reply of the info from the source page.

As I understand it the solution involves grabbing the document of a
webbrowser, parsing it for html and elements. Then accessing any
elements that are applets and saving all events for the document and
applets. As I save each one in some sort of way, it asks me if it
should be variable. Then I can hopefully spit back those events as some
sort of methods in the client.

Is this possible?
Is this a good idea?
Is there any easier way to script user interaction with IE so that it can
execute indepedently using variables?


Thank you for any thoughts,

Chris Hamilton

Thomas Ganss

unread,
Feb 15, 1999, 3:00:00 AM2/15/99
to
Hi Chris,

hook your routine into each callable event... possibly with a generic
routine.
Dont parse the HTML, use the IE4 object model, found in the InetSDK.

HTH

thomas

Chris Hamilton schrieb in Nachricht ...

Arthur Bishop

unread,
Feb 25, 1999, 3:00:00 AM2/25/99
to
Thomas Ganss wrote in message ...

>Hi Chris,
>
>hook your routine into each callable event... possibly with a generic
>routine.
>Dont parse the HTML, use the IE4 object model, found in the InetSDK.

Thomas,

I am looking for the exact kind of information Chris described, but using
your instructions above, I can find NOTHING. I have searched the MS site,
etc.

Can you please provide some information about where, specifically to locate
the information necessary to script IE4 interaction with a web site?

Thank you very much.

Thomas Ganss

unread,
Mar 5, 1999, 3:00:00 AM3/5/99
to
Hi Arthur,

perhaps I read the original posting not exactly...

"Scripting" is ambigous. I automate IE on pages having HTML and JavaScript,
but have no expirience with applets as of now. That is the "scripting" I do,
not related to using any macro-recorder which might be useful as well. I am
using the MsHtml via the WebBrowser.

When generating new "scripts" I use a special instance, which shows the
actual element I am modifying by hand, and then I hit a button which saves
the
information.

My following "scripts" are programmatic-automatic modifications of the
document (model). It could be done with scripting language, but in case
of errors, debugging is easier in a single-language-setup...

This setup could be automated even further, but I found it better (for me!)
to play around a bit and only protocol necessary steps.

You could add a scripting function, which you hook into every HTML-event
using DHTML to do this or using the events of MsHtml to create a automatic
log.

hope this is clear enough

thomas

(sorry for the delay - snow was calling to be skied <g>)

Arthur Bishop schrieb in Nachricht ...

0 new messages