home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 28
/
amigaformatcd28.iso
/
-seriously_amiga-
/
comms
/
other
/
aemail151
/
files.lha
/
ARexx.lha
/
html.readme
< prev
next >
Wrap
Text File
|
1998-03-10
|
4KB
|
94 lines
html.readme
THIS SCRIPT WILL RUN ON BOTH REGISTERED AND UNREGISTERED COPIES OF AEMAIL
The html.aem script is used to read html attachments in email. The script
uses your browser to read the html file. This specific script uses IBrowse
to read and display the html document. The script will have to be modified
to use a different browser.
Also in this directory is an alternate mailcap file which is required for
displaying the html document. You will notice in the mailcap file the
first line which is as follows:
text/html; "run >NIL: rx html.aem %s"
This line calls the html.aem script to display the html attachment with
your browser. The script, html.aem, should be moved to your REXX:
directory. Notice that the call line says "run". This is required to
allow the script to become detached from AEMail so that ARexx commands can
be directed back to AEMail. If the "run" is not present, AEMail will become
frozen when you attempt to display the document.
HOW TO IMPLEMENT
----------------
Copy the mailcap file over your existing mailcap file.
Move the html.aem script to either your program directory or the REXX:
directory.
The script is designed specifically for IBrowse and must be modified if
another browser is used.
Since IBrowse doesn't normally create an assignment for it's program
directory, you will either have to add an assignment for the IBrowse
program directory to your startup sequence or change the following
statement:
ADDRESS COMMAND "Run >NIL: IBROWSE:Ibrowse"
so that IBROWSE: points to the full path of your IBrowse program directory.
If you wish to use another browser, you will also have to modify the
following statements:
IF ~ SHOW("PORTS","IBROWSE") THEN
ADDRESS COMMAND "WaitForPort IBROWSE"
The ARexx port name of your browser will have to be substituted for
"IBROWSE".
ADDRESS IBROWSE INFO SCREEN
This obtains the public screen name for your browser. If your browser
requires MUI, all you will have to do with this statement is change
"IBROWSE" to the ARexx port name for your browser. The next statement:
ADDRESS AEMAIL1 SCREENTOFRONT result
is a call to AEMail to switch your browser's screen to the front. "result"
is the screen named obtained through MUI of the browser's public screen.
If your browser does not use MUI you may have to change this statement and
the previous statement so that you can obtain the public screen name of
your browser.
The statement:
ADDRESS IBROWSE GOTOURL "file://localhost/t:amtemp.html"
is an ARexx call to your browser to display the html document. The
document is stored in the file "T:AMtemp" by AEMail which is changed to
"T:AMtemp.html" by earlier statements in the script. If you are using a
different browser you will have to change this statement to reflect the
correct ARexx call for that browser.
HOW TO USE
----------
When you get an email with an html attachment (or text body) call up your
attachment requester, select the appropriate attachment (it will say
"text/html"), and click on VIEW. Your browser will be loaded (if it is not
already loaded) and the page will be displayed. You should have an open
connection to your Internet server when you call your browser since many
html attachments obtain information over the internet (such as graphic
images).
When you are done viewing the html document you should either close the
browser or switch it's screen to the back to re-display the AEMail screen.
If for any reason your browser can not be loaded, multiview will be called
to display the document as a text document.