home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Amiga
/
Internet
/
Mail
/
Yam2URL.lha
/
yam2url
/
Yam2URL.readme
next >
Wrap
Text File
|
1998-03-31
|
5KB
|
70 lines
YAM2URL
for use with YAM 2.0 by Marcel Beck
Copyright ⌐1997 by Dick Whiting
---------------------------------------------------------------------------
This will display a URL using your browser, start the browser if needed,
uniconify it if already running. It can also be used to view HTML mime
attachments.
To use this for double-clicking and going to a URL:
edit the three variables in this script for your configuration
YAM Config->ARexx->When double-clicking an URL (last entry in list)
set the type to ARexx (cycle gadget)
set the script string to 'Yam:Rexx/YAM2URL.rexx' (assuming it's here)
set open console OFF
set wait for termination OFF
SAVE settings
you can now double-click on a URL and go to it.
To use this for displaying included HTML attachments:
YAM Config->Read->MimeViewers
if there is NOT a type for 'text/html' create a NEW one
set viewer to: 'sys:rexxc/rx Yam:Rexx/YAM2URL.rexx %s'
SAVE settings
you can now display HTML attachments by selecting 'Display' from the
YAM read window and choosing the HTML attachment from the list.
---------------------------------------------------------------------------
!!! You need to edit the four values hideyam,browser,runbr, and newwindow.
---------------------------------------------------------------------------
NOTES:
IF YOU HAVE REASSIGNED THE YAM TEMPORARY DIRECTORY USE THIS FORM:
(This value is specified on the Config->Mixed page.)
set viewer to: 'sys:rexxc/rx Yam:Rexx/YAM2URL.rexx file:///%s'
Also, the '%s' you specify for *MUST* be lowercase. This applies to ALL mime
prefs, not just the one for Yam2URL. Uppercase '%S' will NOT pass the
correct information to your mime viewers.
---------------------------------------------------------------------------
If you have the rexxtricks.library installed then the browser screen will
pop to the front correctly.
You can find this on Aminet/util/rexx/RexxTricks_386.lha
---------------------------------------------------------------------------
Standard Disclaimer: I wrote it, it works for me, I don't guarantee
that it will do anything productive for anyone else, etc. etc. ;-)
HOWEVER, if you do find a use for it: I homeschool my kids and they would
love a postcard from where EVER you live. Instant Geography Lesson;)
POSTCARDS: Dick Whiting
28590 S. Beavercreek Rd.
Mulino, Oregon 97042
USA
---------------------------------------------------------------------------
Dick Whiting <dwhiting@europa.com>
31 March 1998