Kevin Heaton
Insight Software Solutions
What it does:
A macro to implement the Wait for Web Page functionality for Netscape 7.1. You should be able to modify this macro to
work with other browsers if you do not use Netscape 7.1.
To install:
Download the macro file umwaitwebpagen.zip
and save it to your hard drive. Unzip the files and save them in the folder where you store your
macro file(s). Import the macros into your existing macro file by clicking File | Import | Macros.
To use:
Run the macro by pressing Win+Alt+W. This will launch Netscape 7.1 and load a web page.
The .zip contains several files including the macro file umwaitwebpagen.mex. This macro file contains two macros.
The macro "Wait Web Page: Netscape 7.1" performs the Wait for Web Page function. The macro "Web Site: Netscape"
is an example macro that demonstrates how to write a macro that uses the "Wait Web Page: Netscape 7.1" macro.
When writing a macro, set T91 to the address of web site to launch, launch Netscape, and then include the command "Macro Run: Wait Web Page:
Netscape 7.1".
How it works:
This macro will perform a Wait for Web Page in Netscape 7.1 by watching an area on the browser's window that changes
color when a web page is loading and then wait for that color to return to normal.
Note that the example macro "Web Site: Netscape" is the macro that launches Netscape. This is not done in the "Wait Web
Page: Netscape 7.1" macro because the way you launch Netscape may vary. Those users that have Netscape 7.1 set as their
default browser can use the Web Site macro command to launch Netscape.
A feature of the example macro is the ability to tell the user when the web page is done loading using sound
files. By modifying the macro you can choose one of three voices to use for the spoken message.
Limitations:
This macro does not work with some web pages that are fully loaded and displayed very quickly.
The macro assumes that Netscape 7.1 has been installed in the default folder. If you installed Netscape in a different
location, you will need to modify the macro.
Requirements:
- Macro Express 3.5 or later
- Netscape 7.1
- DoneF1.wav, doneM1.wav or doneF3.wav (Used by the example macro. Your macro may not need this.)
Submitted by:
Kevin Heaton
Insight Software Solutions, Inc.
|