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

Automating Internet Explorer

0 views
Skip to first unread message

tinkerman

unread,
Jun 9, 2005, 9:13:51 AM6/9/05
to
Hello net friends,

I need to automate Internet Explorer in a very simple way.
I need to:

1. press refresh (F5) on the currently loaded website.
2. press END button.
3. Click a button somewhere on the screen with the mouse left button
(I'm not
sure this button can be pressed directly via keysequence, not via
mouse, but it does have a name).
4. wait for a few seconds.
5. loop back to step 1.

I have managed to do the above with a windows macro tool, but my main
problem is that the macro only runs in the forground, thus negating
any other use of my PC while it is running (and it's supposed to run
indefinitely).
Since Internet explorer CAN run in the background, and since it can
run various script languages,
I was wondering if such can be written that will also run in the
background and do
what I want.

I've read about this on MicroSoft's webpage and it seems doable (e.g.
sending keystrokes to IE), but I understand that I might need to write
a
HTML file which will open IE and then interact with it (because IE
cannot run a script file directly, i.e. if it's not embedded in a HTML
file).
I don't want to open a new IE window because the site I want to
interact with uses cookies for session information and I will be
forced to login which is a bit more complex.

Since I'm no internet programmer (although I do have programming
experience),
and learning it all is no quick project, I was looking for someone
with
experience that could show me how to do it as simply and swiftly as
possible, such as providing the few required lines of code and
the method to run them in IE (either directly or via an intermideate
HTML file).

Any help will be greatly appreceated.

thanks, TM

0 new messages